[TS] Update tests to latest upstream (0.0.114) LDK API
[ldk-java] / ts / index.mts
index 6805ebbcc55553be7703d316fadaf2b5d71ba70b..ff172c15557862cb4ae4c6d03807cb0d3e826053 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/HTLCClaim.mjs';
 export * from './enums/IOError.mjs';
 export * from './enums/Level.mjs';
 export * from './enums/Network.mjs';
@@ -23,17 +25,15 @@ export * from './enums/Secp256k1Error.mjs';
 export * from './enums/SemanticError.mjs';
 export * from './enums/SiPrefix.mjs';
 export * from './structs/Bech32Error.mjs';
+export * from './structs/Option_HTLCClaimZ.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';
 export * from './structs/TxCreationKeys.mjs';
 export * from './structs/Result_TxCreationKeysDecodeErrorZ.mjs';
 export * from './structs/ChannelPublicKeys.mjs';
 export * from './structs/Result_ChannelPublicKeysDecodeErrorZ.mjs';
-export * from './structs/Result_TxCreationKeysErrorZ.mjs';
 export * from './structs/Option_u32Z.mjs';
 export * from './structs/HTLCOutputInCommitment.mjs';
 export * from './structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs';
@@ -56,27 +56,38 @@ export * from './structs/ShutdownScript.mjs';
 export * from './structs/Result_ShutdownScriptDecodeErrorZ.mjs';
 export * from './structs/InvalidShutdownScript.mjs';
 export * from './structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs';
+export * from './structs/BlindedPath.mjs';
+export * from './structs/Result_BlindedPathNoneZ.mjs';
+export * from './structs/Result_BlindedPathDecodeErrorZ.mjs';
+export * from './structs/BlindedHop.mjs';
+export * from './structs/Result_BlindedHopDecodeErrorZ.mjs';
+export * from './structs/ChannelDetails.mjs';
+export * from './structs/Route.mjs';
+export * from './structs/LightningError.mjs';
+export * from './structs/Result_RouteLightningErrorZ.mjs';
 export * from './structs/RouteHop.mjs';
+export * from './structs/Option_u64Z.mjs';
+export * from './structs/InFlightHtlcs.mjs';
+export * from './structs/Result_InFlightHtlcsDecodeErrorZ.mjs';
 export * from './structs/Result_RouteHopDecodeErrorZ.mjs';
-export * from './structs/Route.mjs';
 export * from './structs/Result_RouteDecodeErrorZ.mjs';
 export * from './structs/RouteParameters.mjs';
 export * from './structs/Result_RouteParametersDecodeErrorZ.mjs';
 export * from './structs/RouteHint.mjs';
-export * from './structs/Option_u64Z.mjs';
 export * from './structs/PaymentParameters.mjs';
 export * from './structs/Result_PaymentParametersDecodeErrorZ.mjs';
 export * from './structs/RouteHintHop.mjs';
 export * from './structs/Result_RouteHintDecodeErrorZ.mjs';
 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/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/Option_u128Z.mjs';
 export * from './structs/ChannelUpdate.mjs';
 export * from './structs/NetworkUpdate.mjs';
 export * from './structs/Option_NetworkUpdateZ.mjs';
@@ -100,7 +111,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';
@@ -111,13 +121,15 @@ 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/Result_NoneChannelMonitorUpdateErrZ.mjs';
+export * from './structs/TwoTuple_TxidBlockHashZ.mjs';
 export * from './structs/HTLCUpdate.mjs';
 export * from './structs/MonitorEvent.mjs';
-export * from './structs/TwoTuple_OutPointCVec_MonitorEventZZ.mjs';
-export * from './structs/Option_C2Tuple_usizeTransactionZZ.mjs';
+export * from './structs/ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ.mjs';
 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/NodeId.mjs';
 export * from './structs/Record.mjs';
 export * from './structs/Logger.mjs';
 export * from './structs/NetworkGraph.mjs';
@@ -132,13 +144,17 @@ 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/NodeId.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_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';
@@ -146,9 +162,12 @@ 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';
@@ -162,6 +181,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';
@@ -177,8 +199,8 @@ export * from './structs/APIError.mjs';
 export * from './structs/Result_NoneAPIErrorZ.mjs';
 export * from './structs/Result__u832APIErrorZ.mjs';
 export * from './structs/PaymentSendFailure.mjs';
-export * from './structs/Result_PaymentIdPaymentSendFailureZ.mjs';
 export * from './structs/Result_NonePaymentSendFailureZ.mjs';
+export * from './structs/Result_PaymentHashPaymentSendFailureZ.mjs';
 export * from './structs/TwoTuple_PaymentHashPaymentIdZ.mjs';
 export * from './structs/Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.mjs';
 export * from './structs/TwoTuple_PaymentHashPaymentSecretZ.mjs';
@@ -211,6 +233,34 @@ 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/Result_NonePaymentErrorZ.mjs';
+export * from './structs/Result_StringErrorZ.mjs';
+export * from './structs/Result_PublicKeyErrorZ.mjs';
+export * from './structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs';
+export * from './structs/Option_MonitorEventZ.mjs';
+export * from './structs/Result_COption_MonitorEventZDecodeErrorZ.mjs';
+export * from './structs/Result_HTLCUpdateDecodeErrorZ.mjs';
+export * from './structs/TwoTuple_OutPointScriptZ.mjs';
+export * from './structs/TwoTuple_u32ScriptZ.mjs';
+export * from './structs/TwoTuple_TxidCVec_C2Tuple_u32ScriptZZZ.mjs';
+export * from './structs/TwoTuple_u32TxOutZ.mjs';
+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/TwoTuple_PublicKeyTypeZ.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/SendError.mjs';
+export * from './structs/Result_NoneSendErrorZ.mjs';
+export * from './structs/GraphSyncError.mjs';
+export * from './structs/Result_u32GraphSyncErrorZ.mjs';
 export * from './structs/ParseError.mjs';
 export * from './structs/Result_SiPrefixParseErrorZ.mjs';
 export * from './structs/Invoice.mjs';
@@ -231,25 +281,6 @@ export * from './structs/Result_InvoiceSemanticErrorZ.mjs';
 export * from './structs/Description.mjs';
 export * from './structs/Result_DescriptionCreationErrorZ.mjs';
 export * from './structs/Result_PrivateRouteCreationErrorZ.mjs';
-export * from './structs/Result_StringErrorZ.mjs';
-export * from './structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs';
-export * from './structs/Option_MonitorEventZ.mjs';
-export * from './structs/Result_COption_MonitorEventZDecodeErrorZ.mjs';
-export * from './structs/Result_HTLCUpdateDecodeErrorZ.mjs';
-export * from './structs/TwoTuple_OutPointScriptZ.mjs';
-export * from './structs/TwoTuple_u32ScriptZ.mjs';
-export * from './structs/TwoTuple_TxidCVec_C2Tuple_u32ScriptZZZ.mjs';
-export * from './structs/TwoTuple_u32TxOutZ.mjs';
-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/TwoTuple_PublicKeyTypeZ.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/Result_NoneErrorZ.mjs';
 export * from './structs/Result_NetAddressDecodeErrorZ.mjs';
 export * from './structs/UpdateAddHTLC.mjs';
@@ -278,6 +309,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 +324,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';
@@ -305,21 +339,27 @@ export * from './structs/Filter.mjs';
 export * from './structs/Option_FilterZ.mjs';
 export * from './structs/LockedChannelMonitor.mjs';
 export * from './structs/Result_LockedChannelMonitorNoneZ.mjs';
+export * from './structs/MonitorUpdateId.mjs';
+export * from './structs/TwoTuple_OutPointCVec_MonitorUpdateIdZZ.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/MultiThreadedLockableScore.mjs';
+export * from './structs/LockableScore.mjs';
+export * from './structs/WriteableScore.mjs';
 export * from './structs/Persister.mjs';
+export * from './structs/PrintableString.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';
 export * from './structs/BestBlock.mjs';
 export * from './structs/Listen.mjs';
 export * from './structs/Confirm.mjs';
-export * from './structs/MonitorUpdateId.mjs';
 export * from './structs/Persist.mjs';
 export * from './structs/ChainMonitor.mjs';
 export * from './structs/KeysManager.mjs';
@@ -330,9 +370,11 @@ 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';
@@ -342,15 +384,21 @@ export * from './structs/ReadOnlyNetworkGraph.mjs';
 export * from './structs/P2PGossipSync.mjs';
 export * from './structs/DirectedChannelInfo.mjs';
 export * from './structs/EffectiveCapacity.mjs';
-export * from './structs/LockableScore.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';
 export * from './structs/ProbabilisticScoringParameters.mjs';
+export * from './structs/OnionMessenger.mjs';
+export * from './structs/Destination.mjs';
+export * from './structs/OnionMessageContents.mjs';
+export * from './structs/RapidGossipSync.mjs';
 export * from './structs/RawDataPart.mjs';
 export * from './structs/Sha256.mjs';
 export * from './structs/ExpiryTime.mjs';
 export * from './structs/MinFinalCltvExpiry.mjs';
 export * from './structs/Fallback.mjs';
 export * from './structs/Payer.mjs';
-export * from './structs/Router.mjs';
 export * from './structs/InvoicePayer.mjs';
 export * from './structs/Retry.mjs';
-export * from './structs/DefaultRouter.mjs';