X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=inline;f=ts%2Fstructs%2FIgnoringMessageHandler.mts;h=e8228d6c2a435d22269d9b8130046e904164a37b;hb=f6d7282fcf6324519ea1fe4b584c8d02c95acd9e;hp=88f374eb335d234497cc7c6590d2c27a62ab0151;hpb=293bcee787de3eb181b82175a1784a4ef311e012;p=ldk-java diff --git a/ts/structs/IgnoringMessageHandler.mts b/ts/structs/IgnoringMessageHandler.mts index 88f374eb..e8228d6c 100644 --- a/ts/structs/IgnoringMessageHandler.mts +++ b/ts/structs/IgnoringMessageHandler.mts @@ -67,6 +67,9 @@ import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurp import { ClosureReason } from '../structs/ClosureReason.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 { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; @@ -104,7 +107,7 @@ import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransaction import { Result_NoneChannelMonitorUpdateErrZ } from '../structs/Result_NoneChannelMonitorUpdateErrZ.mjs'; import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; -import { TwoTuple_OutPointCVec_MonitorEventZZ } from '../structs/TwoTuple_OutPointCVec_MonitorEventZZ.mjs'; +import { ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ } from '../structs/ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ.mjs'; import { Option_C2Tuple_usizeTransactionZZ } from '../structs/Option_C2Tuple_usizeTransactionZZ.mjs'; import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; @@ -138,6 +141,7 @@ 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 { NetAddress } from '../structs/NetAddress.mjs'; import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; @@ -358,7 +362,7 @@ import * as bindings from '../bindings.mjs' */ export class IgnoringMessageHandler extends CommonBase { /* @internal */ - public constructor(_dummy: object, ptr: number) { + public constructor(_dummy: object, ptr: bigint) { super(ptr, bindings.IgnoringMessageHandler_free); } @@ -366,7 +370,7 @@ export class IgnoringMessageHandler extends CommonBase { * Constructs a new IgnoringMessageHandler given each field */ public static constructor_new(): IgnoringMessageHandler { - const ret: number = bindings.IgnoringMessageHandler_new(); + const ret: bigint = bindings.IgnoringMessageHandler_new(); const ret_hu_conv: IgnoringMessageHandler = new IgnoringMessageHandler(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; @@ -377,7 +381,7 @@ export class IgnoringMessageHandler extends CommonBase { * This copies the `inner` pointer in this_arg and thus the returned MessageSendEventsProvider must be freed before this_arg is */ public as_MessageSendEventsProvider(): MessageSendEventsProvider { - const ret: number = bindings.IgnoringMessageHandler_as_MessageSendEventsProvider(this.ptr); + const ret: bigint = bindings.IgnoringMessageHandler_as_MessageSendEventsProvider(this.ptr); const ret_hu_conv: MessageSendEventsProvider = new MessageSendEventsProvider(null, ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; @@ -388,7 +392,7 @@ export class IgnoringMessageHandler extends CommonBase { * This copies the `inner` pointer in this_arg and thus the returned RoutingMessageHandler must be freed before this_arg is */ public as_RoutingMessageHandler(): RoutingMessageHandler { - const ret: number = bindings.IgnoringMessageHandler_as_RoutingMessageHandler(this.ptr); + const ret: bigint = bindings.IgnoringMessageHandler_as_RoutingMessageHandler(this.ptr); const ret_hu_conv: RoutingMessageHandler = new RoutingMessageHandler(null, ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; @@ -399,7 +403,7 @@ export class IgnoringMessageHandler extends CommonBase { * This copies the `inner` pointer in this_arg and thus the returned CustomMessageReader must be freed before this_arg is */ public as_CustomMessageReader(): CustomMessageReader { - const ret: number = bindings.IgnoringMessageHandler_as_CustomMessageReader(this.ptr); + const ret: bigint = bindings.IgnoringMessageHandler_as_CustomMessageReader(this.ptr); const ret_hu_conv: CustomMessageReader = new CustomMessageReader(null, ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; @@ -410,7 +414,7 @@ export class IgnoringMessageHandler extends CommonBase { * This copies the `inner` pointer in this_arg and thus the returned CustomMessageHandler must be freed before this_arg is */ public as_CustomMessageHandler(): CustomMessageHandler { - const ret: number = bindings.IgnoringMessageHandler_as_CustomMessageHandler(this.ptr); + const ret: bigint = bindings.IgnoringMessageHandler_as_CustomMessageHandler(this.ptr); const ret_hu_conv: CustomMessageHandler = new CustomMessageHandler(null, ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv;