X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Findex.mts;fp=ts%2Findex.mts;h=3f9dbca2366f9ed59caf46721090b0a0abf54682;hb=578905367ec9ecc59f50a12c5d49cc5e15f21836;hp=ff172c15557862cb4ae4c6d03807cb0d3e826053;hpb=eab9331afd014558a982441138e222999a9955d1;p=ldk-java diff --git a/ts/index.mts b/ts/index.mts index ff172c15..3f9dbca2 100644 --- a/ts/index.mts +++ b/ts/index.mts @@ -10,21 +10,26 @@ export async function initializeWasmFromBinary(bin: Uint8Array) { export * from './structs/TxOut.mjs'; export * from './structs/BigEndianScalar.mjs'; -export * from './enums/AccessError.mjs'; export * from './enums/COption_NoneZ.mjs'; export * from './enums/ChannelMonitorUpdateStatus.mjs'; export * from './enums/ConfirmationTarget.mjs'; export * from './enums/CreationError.mjs'; export * from './enums/Currency.mjs'; +export * from './enums/FailureCode.mjs'; export * from './enums/HTLCClaim.mjs'; export * from './enums/IOError.mjs'; export * from './enums/Level.mjs'; export * from './enums/Network.mjs'; export * from './enums/Recipient.mjs'; +export * from './enums/RetryableSendFailure.mjs'; export * from './enums/Secp256k1Error.mjs'; export * from './enums/SemanticError.mjs'; export * from './enums/SiPrefix.mjs'; +export * from './enums/UtxoLookupError.mjs'; export * from './structs/Bech32Error.mjs'; +export * from './structs/ShutdownScript.mjs'; +export * from './structs/APIError.mjs'; +export * from './structs/Result_NoneAPIErrorZ.mjs'; export * from './structs/Option_HTLCClaimZ.mjs'; export * from './structs/Result_NoneNoneZ.mjs'; export * from './structs/CounterpartyCommitmentSecrets.mjs'; @@ -52,7 +57,6 @@ export * from './structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; export * from './structs/TrustedCommitmentTransaction.mjs'; export * from './structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; export * from './structs/Result_CVec_SignatureZNoneZ.mjs'; -export * from './structs/ShutdownScript.mjs'; export * from './structs/Result_ShutdownScriptDecodeErrorZ.mjs'; export * from './structs/InvalidShutdownScript.mjs'; export * from './structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; @@ -81,6 +85,12 @@ export * from './structs/Result_RouteHintDecodeErrorZ.mjs'; export * from './structs/Result_RouteHintHopDecodeErrorZ.mjs'; export * from './structs/PaymentPurpose.mjs'; export * from './structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +export * from './structs/ChannelUpdate.mjs'; +export * from './structs/NetworkUpdate.mjs'; +export * from './structs/Option_NetworkUpdateZ.mjs'; +export * from './structs/PathFailure.mjs'; +export * from './structs/Option_PathFailureZ.mjs'; +export * from './structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; export * from './structs/ClosureReason.mjs'; export * from './structs/Option_ClosureReasonZ.mjs'; export * from './structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; @@ -88,9 +98,6 @@ export * from './structs/HTLCDestination.mjs'; export * from './structs/Option_HTLCDestinationZ.mjs'; export * from './structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; export * from './structs/Option_u128Z.mjs'; -export * from './structs/ChannelUpdate.mjs'; -export * from './structs/NetworkUpdate.mjs'; -export * from './structs/Option_NetworkUpdateZ.mjs'; export * from './structs/OutPoint.mjs'; export * from './structs/DelayedPaymentOutputDescriptor.mjs'; export * from './structs/StaticPaymentOutputDescriptor.mjs'; @@ -111,6 +118,7 @@ export * from './structs/ClosingSigned.mjs'; export * from './structs/Shutdown.mjs'; export * from './structs/ChannelReestablish.mjs'; export * from './structs/ChannelAnnouncement.mjs'; +export * from './structs/NodeAnnouncement.mjs'; export * from './structs/ErrorMessage.mjs'; export * from './structs/WarningMessage.mjs'; export * from './structs/ErrorAction.mjs'; @@ -119,7 +127,6 @@ export * from './structs/QueryShortChannelIds.mjs'; export * from './structs/ReplyChannelRange.mjs'; export * from './structs/GossipTimestampFilter.mjs'; export * from './structs/MessageSendEvent.mjs'; -export * from './structs/Result_TxOutAccessErrorZ.mjs'; export * from './structs/TwoTuple_usizeTransactionZ.mjs'; export * from './structs/TwoTuple_TxidBlockHashZ.mjs'; export * from './structs/HTLCUpdate.mjs'; @@ -129,6 +136,9 @@ export * from './structs/FixedPenaltyScorer.mjs'; export * from './structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; export * from './structs/TwoTuple_u64u64Z.mjs'; export * from './structs/Option_C2Tuple_u64u64ZZ.mjs'; +export * from './structs/TwoTuple_Z.mjs'; +export * from './structs/TwoTuple__u168_u168Z.mjs'; +export * from './structs/Option_C2Tuple_EightU16sEightU16sZZ.mjs'; export * from './structs/NodeId.mjs'; export * from './structs/Record.mjs'; export * from './structs/Logger.mjs'; @@ -143,15 +153,16 @@ export * from './structs/NodeFeatures.mjs'; export * from './structs/Result_NodeFeaturesDecodeErrorZ.mjs'; export * from './structs/InvoiceFeatures.mjs'; export * from './structs/Result_InvoiceFeaturesDecodeErrorZ.mjs'; +export * from './structs/BlindedHopFeatures.mjs'; +export * from './structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; export * from './structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; -export * from './structs/OfferFeatures.mjs'; -export * from './structs/Result_OfferFeaturesDecodeErrorZ.mjs'; -export * from './structs/InvoiceRequestFeatures.mjs'; -export * from './structs/Result_InvoiceRequestFeaturesDecodeErrorZ.mjs'; export * from './structs/Result_NodeIdDecodeErrorZ.mjs'; export * from './structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; -export * from './structs/Access.mjs'; -export * from './structs/Option_AccessZ.mjs'; +export * from './structs/Result_TxOutUtxoLookupErrorZ.mjs'; +export * from './structs/UtxoFuture.mjs'; +export * from './structs/UtxoResult.mjs'; +export * from './structs/UtxoLookup.mjs'; +export * from './structs/Option_UtxoLookupZ.mjs'; export * from './structs/Result_boolLightningErrorZ.mjs'; export * from './structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; export * from './structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; @@ -178,29 +189,28 @@ export * from './structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; export * from './structs/TwoTuple_SignatureCVec_SignatureZZ.mjs'; export * from './structs/Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.mjs'; export * from './structs/Result_SignatureNoneZ.mjs'; -export * from './structs/TwoTuple_SignatureSignatureZ.mjs'; -export * from './structs/Result_C2Tuple_SignatureSignatureZNoneZ.mjs'; -export * from './structs/Result_SecretKeyNoneZ.mjs'; export * from './structs/Result_PublicKeyNoneZ.mjs'; export * from './structs/Option_ScalarZ.mjs'; export * from './structs/Result_SharedSecretNoneZ.mjs'; +export * from './structs/Result_RecoverableSignatureNoneZ.mjs'; export * from './structs/ClosingTransaction.mjs'; export * from './structs/UnsignedChannelAnnouncement.mjs'; -export * from './structs/BaseSign.mjs'; -export * from './structs/Sign.mjs'; -export * from './structs/Result_SignDecodeErrorZ.mjs'; -export * from './structs/Result_RecoverableSignatureNoneZ.mjs'; +export * from './structs/ChannelSigner.mjs'; +export * from './structs/EcdsaChannelSigner.mjs'; +export * from './structs/WriteableEcdsaChannelSigner.mjs'; +export * from './structs/Result_WriteableEcdsaChannelSignerDecodeErrorZ.mjs'; export * from './structs/Result_CVec_CVec_u8ZZNoneZ.mjs'; export * from './structs/InMemorySigner.mjs'; export * from './structs/Result_InMemorySignerDecodeErrorZ.mjs'; export * from './structs/Result_TransactionNoneZ.mjs'; export * from './structs/Option_u16Z.mjs'; -export * from './structs/APIError.mjs'; -export * from './structs/Result_NoneAPIErrorZ.mjs'; export * from './structs/Result__u832APIErrorZ.mjs'; +export * from './structs/RecentPaymentDetails.mjs'; export * from './structs/PaymentSendFailure.mjs'; export * from './structs/Result_NonePaymentSendFailureZ.mjs'; +export * from './structs/Result_NoneRetryableSendFailureZ.mjs'; export * from './structs/Result_PaymentHashPaymentSendFailureZ.mjs'; +export * from './structs/Result_PaymentHashRetryableSendFailureZ.mjs'; export * from './structs/TwoTuple_PaymentHashPaymentIdZ.mjs'; export * from './structs/Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.mjs'; export * from './structs/TwoTuple_PaymentHashPaymentSecretZ.mjs'; @@ -220,13 +230,21 @@ export * from './structs/ChannelMonitor.mjs'; export * from './structs/ChannelMonitorUpdate.mjs'; export * from './structs/Watch.mjs'; export * from './structs/BroadcasterInterface.mjs'; -export * from './structs/KeysInterface.mjs'; +export * from './structs/EntropySource.mjs'; +export * from './structs/UnsignedChannelUpdate.mjs'; +export * from './structs/UnsignedNodeAnnouncement.mjs'; +export * from './structs/UnsignedGossipMessage.mjs'; +export * from './structs/NodeSigner.mjs'; +export * from './structs/SignerProvider.mjs'; export * from './structs/FeeEstimator.mjs'; +export * from './structs/Router.mjs'; export * from './structs/ChannelManager.mjs'; export * from './structs/TwoTuple_BlockHashChannelManagerZ.mjs'; export * from './structs/Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.mjs'; export * from './structs/ChannelConfig.mjs'; export * from './structs/Result_ChannelConfigDecodeErrorZ.mjs'; +export * from './structs/Option_APIErrorZ.mjs'; +export * from './structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; export * from './structs/Result_OutPointDecodeErrorZ.mjs'; export * from './structs/Type.mjs'; export * from './structs/Option_TypeZ.mjs'; @@ -253,6 +271,7 @@ export * from './structs/CustomOnionMessageContents.mjs'; export * from './structs/Option_CustomOnionMessageContentsZ.mjs'; export * from './structs/Result_COption_CustomOnionMessageContentsZDecodeErrorZ.mjs'; export * from './structs/Option_NetAddressZ.mjs'; +export * from './structs/TwoTuple_PublicKeyCOption_NetAddressZZ.mjs'; export * from './structs/PeerHandleError.mjs'; export * from './structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; export * from './structs/Result_NonePeerHandleErrorZ.mjs'; @@ -317,14 +336,11 @@ export * from './structs/Pong.mjs'; export * from './structs/Result_PongDecodeErrorZ.mjs'; export * from './structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; export * from './structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; -export * from './structs/UnsignedChannelUpdate.mjs'; export * from './structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; export * from './structs/Result_ChannelUpdateDecodeErrorZ.mjs'; export * from './structs/Result_ErrorMessageDecodeErrorZ.mjs'; export * from './structs/Result_WarningMessageDecodeErrorZ.mjs'; -export * from './structs/UnsignedNodeAnnouncement.mjs'; export * from './structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; -export * from './structs/NodeAnnouncement.mjs'; export * from './structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; export * from './structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; export * from './structs/ReplyShortChannelIdsEnd.mjs'; @@ -365,6 +381,7 @@ export * from './structs/ChainMonitor.mjs'; export * from './structs/KeysManager.mjs'; export * from './structs/PhantomKeysManager.mjs'; export * from './structs/ChainParameters.mjs'; +export * from './structs/Retry.mjs'; export * from './structs/ChannelMessageHandler.mjs'; export * from './structs/ChannelManagerReadArgs.mjs'; export * from './structs/ExpandedKey.mjs'; @@ -380,12 +397,14 @@ export * from './structs/MessageHandler.mjs'; export * from './structs/SocketDescriptor.mjs'; export * from './structs/PeerManager.mjs'; export * from './structs/DirectedChannelTransactionParameters.mjs'; -export * from './structs/ReadOnlyNetworkGraph.mjs'; +export * from './structs/OfferFeatures.mjs'; +export * from './structs/InvoiceRequestFeatures.mjs'; +export * from './structs/Bolt12InvoiceFeatures.mjs'; export * from './structs/P2PGossipSync.mjs'; +export * from './structs/ReadOnlyNetworkGraph.mjs'; export * from './structs/DirectedChannelInfo.mjs'; export * from './structs/EffectiveCapacity.mjs'; export * from './structs/DefaultRouter.mjs'; -export * from './structs/Router.mjs'; export * from './structs/ScorerAccountingForInFlightHtlcs.mjs'; export * from './structs/MultiThreadedLockableScore.mjs'; export * from './structs/MultiThreadedScoreLock.mjs'; @@ -394,11 +413,9 @@ export * from './structs/OnionMessenger.mjs'; export * from './structs/Destination.mjs'; export * from './structs/OnionMessageContents.mjs'; export * from './structs/RapidGossipSync.mjs'; +export * from './structs/GossipSync.mjs'; export * from './structs/RawDataPart.mjs'; export * from './structs/Sha256.mjs'; export * from './structs/ExpiryTime.mjs'; -export * from './structs/MinFinalCltvExpiry.mjs'; +export * from './structs/MinFinalCltvExpiryDelta.mjs'; export * from './structs/Fallback.mjs'; -export * from './structs/Payer.mjs'; -export * from './structs/InvoicePayer.mjs'; -export * from './structs/Retry.mjs';