X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Findex.mts;h=3cb8a4ee6a374bb11c02108ef6e9d69bbf1f6390;hb=e0fec3409b0cab35f00a1d1d699daf20f5de79fd;hp=6805ebbcc55553be7703d316fadaf2b5d71ba70b;hpb=9dd77adc1df59cdcceb68a6d38683b2f8f390201;p=ldk-java diff --git a/ts/index.mts b/ts/index.mts index 6805ebbc..3cb8a4ee 100644 --- a/ts/index.mts +++ b/ts/index.mts @@ -9,9 +9,10 @@ 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'; @@ -23,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'; @@ -77,6 +83,9 @@ 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'; @@ -100,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'; @@ -111,13 +119,14 @@ 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/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 +141,13 @@ 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/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 +155,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 +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'; @@ -211,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'; @@ -245,11 +262,18 @@ 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/Result_NoneErrorZ.mjs'; export * from './structs/Result_NetAddressDecodeErrorZ.mjs'; export * from './structs/UpdateAddHTLC.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,13 +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/MultiThreadedLockableScore.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'; @@ -330,9 +361,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,8 +375,12 @@ 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/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';