Merge pull request #120 from TheBlueMatt/main
[ldk-java] / ts / index.mts
index 2aaf230e4957e2eaec2b03d0dd2d6431d8515b94..3cb8a4ee6a374bb11c02108ef6e9d69bbf1f6390 100644 (file)
@@ -9,12 +9,14 @@ 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/ChannelMonitorUpdateErr.mjs';
+export * from './enums/ChannelMonitorUpdateStatus.mjs';
 export * from './enums/ConfirmationTarget.mjs';
 export * from './enums/CreationError.mjs';
 export * from './enums/Currency.mjs';
+export * from './enums/IOError.mjs';
 export * from './enums/Level.mjs';
 export * from './enums/Network.mjs';
 export * from './enums/Recipient.mjs';
@@ -22,9 +24,14 @@ export * from './enums/Secp256k1Error.mjs';
 export * from './enums/SemanticError.mjs';
 export * from './enums/SiPrefix.mjs';
 export * from './structs/Bech32Error.mjs';
+export * from './structs/BlindedRoute.mjs';
+export * from './structs/Result_BlindedRouteNoneZ.mjs';
+export * from './structs/DecodeError.mjs';
+export * from './structs/Result_BlindedRouteDecodeErrorZ.mjs';
+export * from './structs/BlindedHop.mjs';
+export * from './structs/Result_BlindedHopDecodeErrorZ.mjs';
 export * from './structs/Result_NoneNoneZ.mjs';
 export * from './structs/CounterpartyCommitmentSecrets.mjs';
-export * from './structs/DecodeError.mjs';
 export * from './structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs';
 export * from './structs/Result_SecretKeyErrorZ.mjs';
 export * from './structs/Result_PublicKeyErrorZ.mjs';
@@ -71,23 +78,21 @@ export * from './structs/Result_RouteHintHopDecodeErrorZ.mjs';
 export * from './structs/ChannelDetails.mjs';
 export * from './structs/LightningError.mjs';
 export * from './structs/Result_RouteLightningErrorZ.mjs';
-export * from './structs/Result_TxOutAccessErrorZ.mjs';
-export * from './structs/TwoTuple_usizeTransactionZ.mjs';
-export * from './structs/Result_NoneChannelMonitorUpdateErrZ.mjs';
-export * from './structs/HTLCUpdate.mjs';
-export * from './structs/OutPoint.mjs';
-export * from './structs/MonitorEvent.mjs';
-export * from './structs/Option_C2Tuple_usizeTransactionZZ.mjs';
+export * from './structs/PaymentPurpose.mjs';
+export * from './structs/Result_PaymentPurposeDecodeErrorZ.mjs';
 export * from './structs/ClosureReason.mjs';
 export * from './structs/Option_ClosureReasonZ.mjs';
 export * from './structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs';
+export * from './structs/HTLCDestination.mjs';
+export * from './structs/Option_HTLCDestinationZ.mjs';
+export * from './structs/Result_COption_HTLCDestinationZDecodeErrorZ.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';
 export * from './structs/SpendableOutputDescriptor.mjs';
-export * from './structs/PaymentPurpose.mjs';
 export * from './structs/ChannelTypeFeatures.mjs';
 export * from './structs/Event.mjs';
 export * from './structs/Option_EventZ.mjs';
@@ -96,7 +101,7 @@ export * from './structs/AcceptChannel.mjs';
 export * from './structs/OpenChannel.mjs';
 export * from './structs/FundingCreated.mjs';
 export * from './structs/FundingSigned.mjs';
-export * from './structs/FundingLocked.mjs';
+export * from './structs/ChannelReady.mjs';
 export * from './structs/AnnouncementSignatures.mjs';
 export * from './structs/CommitmentUpdate.mjs';
 export * from './structs/RevokeAndACK.mjs';
@@ -104,7 +109,6 @@ 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';
@@ -113,12 +117,18 @@ 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/HTLCUpdate.mjs';
+export * from './structs/MonitorEvent.mjs';
+export * from './structs/ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ.mjs';
 export * from './structs/FixedPenaltyScorer.mjs';
 export * from './structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
-export * from './structs/ScoringParameters.mjs';
-export * from './structs/Result_ScoringParametersDecodeErrorZ.mjs';
-export * from './structs/Scorer.mjs';
-export * from './structs/Result_ScorerDecodeErrorZ.mjs';
+export * from './structs/TwoTuple_u64u64Z.mjs';
+export * from './structs/Option_C2Tuple_u64u64ZZ.mjs';
+export * from './structs/NodeId.mjs';
+export * from './structs/Record.mjs';
+export * from './structs/Logger.mjs';
 export * from './structs/NetworkGraph.mjs';
 export * from './structs/ProbabilisticScorer.mjs';
 export * from './structs/Result_ProbabilisticScorerDecodeErrorZ.mjs';
@@ -131,6 +141,30 @@ export * from './structs/Result_NodeFeaturesDecodeErrorZ.mjs';
 export * from './structs/InvoiceFeatures.mjs';
 export * from './structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
 export * from './structs/Result_ChannelTypeFeaturesDecodeErrorZ.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_boolLightningErrorZ.mjs';
+export * from './structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs';
+export * from './structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs';
+export * from './structs/Result_NoneLightningErrorZ.mjs';
+export * from './structs/ChannelUpdateInfo.mjs';
+export * from './structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs';
+export * from './structs/ChannelInfo.mjs';
+export * from './structs/Result_ChannelInfoDecodeErrorZ.mjs';
+export * from './structs/RoutingFees.mjs';
+export * from './structs/Result_RoutingFeesDecodeErrorZ.mjs';
+export * from './structs/Hostname.mjs';
+export * from './structs/NetAddress.mjs';
+export * from './structs/NodeAnnouncementInfo.mjs';
+export * from './structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
+export * from './structs/NodeAlias.mjs';
+export * from './structs/Result_NodeAliasDecodeErrorZ.mjs';
+export * from './structs/NodeInfo.mjs';
+export * from './structs/Result_NodeInfoDecodeErrorZ.mjs';
+export * from './structs/Result_NetworkGraphDecodeErrorZ.mjs';
+export * from './structs/Option_CVec_NetAddressZZ.mjs';
 export * from './structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs';
 export * from './structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs';
 export * from './structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs';
@@ -140,6 +174,9 @@ 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/ClosingTransaction.mjs';
 export * from './structs/UnsignedChannelAnnouncement.mjs';
 export * from './structs/BaseSign.mjs';
@@ -159,7 +196,6 @@ export * from './structs/Result_PaymentIdPaymentSendFailureZ.mjs';
 export * from './structs/Result_NonePaymentSendFailureZ.mjs';
 export * from './structs/TwoTuple_PaymentHashPaymentIdZ.mjs';
 export * from './structs/Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.mjs';
-export * from './structs/NetAddress.mjs';
 export * from './structs/TwoTuple_PaymentHashPaymentSecretZ.mjs';
 export * from './structs/Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.mjs';
 export * from './structs/Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.mjs';
@@ -179,8 +215,6 @@ export * from './structs/Watch.mjs';
 export * from './structs/BroadcasterInterface.mjs';
 export * from './structs/KeysInterface.mjs';
 export * from './structs/FeeEstimator.mjs';
-export * from './structs/Record.mjs';
-export * from './structs/Logger.mjs';
 export * from './structs/ChannelManager.mjs';
 export * from './structs/TwoTuple_BlockHashChannelManagerZ.mjs';
 export * from './structs/Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.mjs';
@@ -192,6 +226,8 @@ export * from './structs/Option_TypeZ.mjs';
 export * from './structs/Result_COption_TypeZDecodeErrorZ.mjs';
 export * from './structs/PaymentError.mjs';
 export * from './structs/Result_PaymentIdPaymentErrorZ.mjs';
+export * from './structs/InFlightHtlcs.mjs';
+export * from './structs/Result_InFlightHtlcsDecodeErrorZ.mjs';
 export * from './structs/ParseError.mjs';
 export * from './structs/Result_SiPrefixParseErrorZ.mjs';
 export * from './structs/Invoice.mjs';
@@ -225,32 +261,20 @@ export * from './structs/TwoTuple_TxidCVec_C2Tuple_u32TxOutZZZ.mjs';
 export * from './structs/Balance.mjs';
 export * from './structs/TwoTuple_BlockHashChannelMonitorZ.mjs';
 export * from './structs/Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.mjs';
-export * from './structs/Result_NoneLightningErrorZ.mjs';
 export * from './structs/TwoTuple_PublicKeyTypeZ.mjs';
-export * from './structs/Result_boolLightningErrorZ.mjs';
-export * from './structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs';
+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/PeerHandleError.mjs';
 export * from './structs/Result_CVec_u8ZPeerHandleErrorZ.mjs';
 export * from './structs/Result_NonePeerHandleErrorZ.mjs';
 export * from './structs/Result_boolPeerHandleErrorZ.mjs';
-export * from './structs/NodeId.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/ChannelUpdateInfo.mjs';
-export * from './structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs';
-export * from './structs/ChannelInfo.mjs';
-export * from './structs/Result_ChannelInfoDecodeErrorZ.mjs';
-export * from './structs/RoutingFees.mjs';
-export * from './structs/Result_RoutingFeesDecodeErrorZ.mjs';
-export * from './structs/NodeAnnouncementInfo.mjs';
-export * from './structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
-export * from './structs/NodeInfo.mjs';
-export * from './structs/Result_NodeInfoDecodeErrorZ.mjs';
-export * from './structs/Result_NetworkGraphDecodeErrorZ.mjs';
-export * from './structs/Option_CVec_NetAddressZZ.mjs';
+export * from './structs/SendError.mjs';
+export * from './structs/Result_NoneSendErrorZ.mjs';
+export * from './structs/GraphSyncError.mjs';
+export * from './structs/Result_u32GraphSyncErrorZ.mjs';
+export * from './structs/Result_NoneErrorZ.mjs';
 export * from './structs/Result_NetAddressDecodeErrorZ.mjs';
 export * from './structs/UpdateAddHTLC.mjs';
 export * from './structs/UpdateFulfillHTLC.mjs';
@@ -266,7 +290,7 @@ export * from './structs/CommitmentSigned.mjs';
 export * from './structs/Result_CommitmentSignedDecodeErrorZ.mjs';
 export * from './structs/Result_FundingCreatedDecodeErrorZ.mjs';
 export * from './structs/Result_FundingSignedDecodeErrorZ.mjs';
-export * from './structs/Result_FundingLockedDecodeErrorZ.mjs';
+export * from './structs/Result_ChannelReadyDecodeErrorZ.mjs';
 export * from './structs/Init.mjs';
 export * from './structs/Result_InitDecodeErrorZ.mjs';
 export * from './structs/Result_OpenChannelDecodeErrorZ.mjs';
@@ -278,6 +302,8 @@ export * from './structs/UpdateFee.mjs';
 export * from './structs/Result_UpdateFeeDecodeErrorZ.mjs';
 export * from './structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs';
 export * from './structs/Result_UpdateAddHTLCDecodeErrorZ.mjs';
+export * from './structs/OnionMessage.mjs';
+export * from './structs/Result_OnionMessageDecodeErrorZ.mjs';
 export * from './structs/Ping.mjs';
 export * from './structs/Result_PingDecodeErrorZ.mjs';
 export * from './structs/Pong.mjs';
@@ -291,6 +317,7 @@ 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';
@@ -306,8 +333,17 @@ export * from './structs/Option_FilterZ.mjs';
 export * from './structs/LockedChannelMonitor.mjs';
 export * from './structs/Result_LockedChannelMonitorNoneZ.mjs';
 export * from './structs/MessageSendEventsProvider.mjs';
+export * from './structs/OnionMessageProvider.mjs';
 export * from './structs/EventHandler.mjs';
 export * from './structs/EventsProvider.mjs';
+export * from './structs/BigSize.mjs';
+export * from './structs/ChannelUsage.mjs';
+export * from './structs/Score.mjs';
+export * from './structs/LockableScore.mjs';
+export * from './structs/WriteableScore.mjs';
+export * from './structs/Persister.mjs';
+export * from './structs/FutureCallback.mjs';
+export * from './structs/Future.mjs';
 export * from './structs/ChannelHandshakeConfig.mjs';
 export * from './structs/ChannelHandshakeLimits.mjs';
 export * from './structs/UserConfig.mjs';
@@ -322,24 +358,29 @@ export * from './structs/PhantomKeysManager.mjs';
 export * from './structs/ChainParameters.mjs';
 export * from './structs/ChannelMessageHandler.mjs';
 export * from './structs/ChannelManagerReadArgs.mjs';
+export * from './structs/ExpandedKey.mjs';
 export * from './structs/DataLossProtect.mjs';
 export * from './structs/RoutingMessageHandler.mjs';
+export * from './structs/OnionMessageHandler.mjs';
 export * from './structs/CustomMessageReader.mjs';
 export * from './structs/CustomMessageHandler.mjs';
 export * from './structs/IgnoringMessageHandler.mjs';
+export * from './structs/CustomOnionMessageHandler.mjs';
 export * from './structs/ErroringMessageHandler.mjs';
 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/NetGraphMsgHandler.mjs';
+export * from './structs/P2PGossipSync.mjs';
 export * from './structs/DirectedChannelInfo.mjs';
 export * from './structs/EffectiveCapacity.mjs';
-export * from './structs/Score.mjs';
-export * from './structs/LockableScore.mjs';
 export * from './structs/MultiThreadedLockableScore.mjs';
+export * from './structs/MultiThreadedScoreLock.mjs';
 export * from './structs/ProbabilisticScoringParameters.mjs';
+export * from './structs/OnionMessenger.mjs';
+export * from './structs/Destination.mjs';
+export * from './structs/RapidGossipSync.mjs';
 export * from './structs/RawDataPart.mjs';
 export * from './structs/Sha256.mjs';
 export * from './structs/ExpiryTime.mjs';
@@ -348,5 +389,5 @@ export * from './structs/Fallback.mjs';
 export * from './structs/Payer.mjs';
 export * from './structs/Router.mjs';
 export * from './structs/InvoicePayer.mjs';
-export * from './structs/RetryAttempts.mjs';
+export * from './structs/Retry.mjs';
 export * from './structs/DefaultRouter.mjs';