Skip to content

Commit 1a1849c

Browse files
committed
[TS] Update auto-generated bindings to LDK 0.0.115
1 parent 0b07fe1 commit 1a1849c

File tree

423 files changed

+89544
-60406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

423 files changed

+89544
-60406
lines changed

ts/bindings.c

Lines changed: 17304 additions & 14508 deletions
Large diffs are not rendered by default.

ts/bindings.c.body

Lines changed: 17304 additions & 14508 deletions
Large diffs are not rendered by default.

ts/bindings.mts

Lines changed: 6605 additions & 4280 deletions
Large diffs are not rendered by default.

ts/index.mts

Lines changed: 90 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,27 @@ export * from './enums/HTLCClaim.mjs';
2121
export * from './enums/IOError.mjs';
2222
export * from './enums/Level.mjs';
2323
export * from './enums/Network.mjs';
24+
export * from './enums/PaymentFailureReason.mjs';
2425
export * from './enums/Recipient.mjs';
2526
export * from './enums/RetryableSendFailure.mjs';
2627
export * from './enums/Secp256k1Error.mjs';
2728
export * from './enums/SemanticError.mjs';
2829
export * from './enums/SiPrefix.mjs';
2930
export * from './enums/UtxoLookupError.mjs';
3031
export * from './structs/Bech32Error.mjs';
32+
export * from './structs/Option_DurationZ.mjs';
33+
export * from './structs/BlindedPath.mjs';
34+
export * from './structs/Option_u64Z.mjs';
3135
export * from './structs/ShutdownScript.mjs';
3236
export * from './structs/APIError.mjs';
3337
export * from './structs/Result_NoneAPIErrorZ.mjs';
38+
export * from './structs/Option_CVec_u8ZZ.mjs';
39+
export * from './structs/RecipientOnionFields.mjs';
40+
export * from './structs/DecodeError.mjs';
41+
export * from './structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs';
3442
export * from './structs/Option_HTLCClaimZ.mjs';
3543
export * from './structs/Result_NoneNoneZ.mjs';
3644
export * from './structs/CounterpartyCommitmentSecrets.mjs';
37-
export * from './structs/DecodeError.mjs';
3845
export * from './structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs';
3946
export * from './structs/TxCreationKeys.mjs';
4047
export * from './structs/Result_TxCreationKeysDecodeErrorZ.mjs';
@@ -61,29 +68,61 @@ export * from './structs/Result_CVec_SignatureZNoneZ.mjs';
6168
export * from './structs/Result_ShutdownScriptDecodeErrorZ.mjs';
6269
export * from './structs/InvalidShutdownScript.mjs';
6370
export * from './structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs';
64-
export * from './structs/BlindedPath.mjs';
65-
export * from './structs/Result_BlindedPathNoneZ.mjs';
66-
export * from './structs/Result_BlindedPathDecodeErrorZ.mjs';
67-
export * from './structs/BlindedHop.mjs';
68-
export * from './structs/Result_BlindedHopDecodeErrorZ.mjs';
71+
export * from './structs/BlindedPayInfo.mjs';
72+
export * from './structs/Result_BlindedPayInfoDecodeErrorZ.mjs';
6973
export * from './structs/ChannelDetails.mjs';
7074
export * from './structs/Route.mjs';
7175
export * from './structs/LightningError.mjs';
7276
export * from './structs/Result_RouteLightningErrorZ.mjs';
73-
export * from './structs/RouteHop.mjs';
74-
export * from './structs/Option_u64Z.mjs';
7577
export * from './structs/InFlightHtlcs.mjs';
7678
export * from './structs/Result_InFlightHtlcsDecodeErrorZ.mjs';
79+
export * from './structs/RouteHop.mjs';
7780
export * from './structs/Result_RouteHopDecodeErrorZ.mjs';
81+
export * from './structs/BlindedHop.mjs';
82+
export * from './structs/BlindedTail.mjs';
83+
export * from './structs/Result_BlindedTailDecodeErrorZ.mjs';
84+
export * from './structs/Path.mjs';
7885
export * from './structs/Result_RouteDecodeErrorZ.mjs';
7986
export * from './structs/RouteParameters.mjs';
8087
export * from './structs/Result_RouteParametersDecodeErrorZ.mjs';
81-
export * from './structs/RouteHint.mjs';
8288
export * from './structs/PaymentParameters.mjs';
8389
export * from './structs/Result_PaymentParametersDecodeErrorZ.mjs';
90+
export * from './structs/TwoTuple_BlindedPayInfoBlindedPathZ.mjs';
91+
export * from './structs/RouteHint.mjs';
8492
export * from './structs/RouteHintHop.mjs';
8593
export * from './structs/Result_RouteHintDecodeErrorZ.mjs';
8694
export * from './structs/Result_RouteHintHopDecodeErrorZ.mjs';
95+
export * from './structs/TwoTuple_usizeTransactionZ.mjs';
96+
export * from './structs/TwoTuple_TxidBlockHashZ.mjs';
97+
export * from './structs/HTLCUpdate.mjs';
98+
export * from './structs/OutPoint.mjs';
99+
export * from './structs/MonitorEvent.mjs';
100+
export * from './structs/ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ.mjs';
101+
export * from './structs/FixedPenaltyScorer.mjs';
102+
export * from './structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
103+
export * from './structs/TwoTuple_u64u64Z.mjs';
104+
export * from './structs/Option_C2Tuple_u64u64ZZ.mjs';
105+
export * from './structs/TwoTuple_Z.mjs';
106+
export * from './structs/TwoTuple__u168_u168Z.mjs';
107+
export * from './structs/Option_C2Tuple_EightU16sEightU16sZZ.mjs';
108+
export * from './structs/NodeId.mjs';
109+
export * from './structs/Record.mjs';
110+
export * from './structs/Logger.mjs';
111+
export * from './structs/NetworkGraph.mjs';
112+
export * from './structs/ProbabilisticScorer.mjs';
113+
export * from './structs/Result_ProbabilisticScorerDecodeErrorZ.mjs';
114+
export * from './structs/InitFeatures.mjs';
115+
export * from './structs/Result_InitFeaturesDecodeErrorZ.mjs';
116+
export * from './structs/ChannelFeatures.mjs';
117+
export * from './structs/Result_ChannelFeaturesDecodeErrorZ.mjs';
118+
export * from './structs/NodeFeatures.mjs';
119+
export * from './structs/Result_NodeFeaturesDecodeErrorZ.mjs';
120+
export * from './structs/InvoiceFeatures.mjs';
121+
export * from './structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
122+
export * from './structs/BlindedHopFeatures.mjs';
123+
export * from './structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs';
124+
export * from './structs/ChannelTypeFeatures.mjs';
125+
export * from './structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
87126
export * from './structs/PaymentPurpose.mjs';
88127
export * from './structs/Result_PaymentPurposeDecodeErrorZ.mjs';
89128
export * from './structs/ChannelUpdate.mjs';
@@ -92,18 +131,19 @@ export * from './structs/Option_NetworkUpdateZ.mjs';
92131
export * from './structs/PathFailure.mjs';
93132
export * from './structs/Option_PathFailureZ.mjs';
94133
export * from './structs/Result_COption_PathFailureZDecodeErrorZ.mjs';
134+
export * from './structs/UntrustedString.mjs';
95135
export * from './structs/ClosureReason.mjs';
96136
export * from './structs/Option_ClosureReasonZ.mjs';
97137
export * from './structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs';
98138
export * from './structs/HTLCDestination.mjs';
99139
export * from './structs/Option_HTLCDestinationZ.mjs';
100140
export * from './structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs';
141+
export * from './structs/Result_PaymentFailureReasonDecodeErrorZ.mjs';
101142
export * from './structs/Option_u128Z.mjs';
102-
export * from './structs/OutPoint.mjs';
143+
export * from './structs/Option_PaymentFailureReasonZ.mjs';
103144
export * from './structs/DelayedPaymentOutputDescriptor.mjs';
104145
export * from './structs/StaticPaymentOutputDescriptor.mjs';
105146
export * from './structs/SpendableOutputDescriptor.mjs';
106-
export * from './structs/ChannelTypeFeatures.mjs';
107147
export * from './structs/Event.mjs';
108148
export * from './structs/Option_EventZ.mjs';
109149
export * from './structs/Result_COption_EventZDecodeErrorZ.mjs';
@@ -128,35 +168,7 @@ export * from './structs/QueryShortChannelIds.mjs';
128168
export * from './structs/ReplyChannelRange.mjs';
129169
export * from './structs/GossipTimestampFilter.mjs';
130170
export * from './structs/MessageSendEvent.mjs';
131-
export * from './structs/TwoTuple_usizeTransactionZ.mjs';
132-
export * from './structs/TwoTuple_TxidBlockHashZ.mjs';
133-
export * from './structs/HTLCUpdate.mjs';
134-
export * from './structs/MonitorEvent.mjs';
135-
export * from './structs/ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ.mjs';
136-
export * from './structs/FixedPenaltyScorer.mjs';
137-
export * from './structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
138-
export * from './structs/TwoTuple_u64u64Z.mjs';
139-
export * from './structs/Option_C2Tuple_u64u64ZZ.mjs';
140-
export * from './structs/TwoTuple_Z.mjs';
141-
export * from './structs/TwoTuple__u168_u168Z.mjs';
142-
export * from './structs/Option_C2Tuple_EightU16sEightU16sZZ.mjs';
143-
export * from './structs/NodeId.mjs';
144-
export * from './structs/Record.mjs';
145-
export * from './structs/Logger.mjs';
146-
export * from './structs/NetworkGraph.mjs';
147-
export * from './structs/ProbabilisticScorer.mjs';
148-
export * from './structs/Result_ProbabilisticScorerDecodeErrorZ.mjs';
149-
export * from './structs/InitFeatures.mjs';
150-
export * from './structs/Result_InitFeaturesDecodeErrorZ.mjs';
151-
export * from './structs/ChannelFeatures.mjs';
152-
export * from './structs/Result_ChannelFeaturesDecodeErrorZ.mjs';
153-
export * from './structs/NodeFeatures.mjs';
154-
export * from './structs/Result_NodeFeaturesDecodeErrorZ.mjs';
155-
export * from './structs/InvoiceFeatures.mjs';
156-
export * from './structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
157-
export * from './structs/BlindedHopFeatures.mjs';
158-
export * from './structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs';
159-
export * from './structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
171+
export * from './structs/Result_PublicKeyErrorZ.mjs';
160172
export * from './structs/Result_NodeIdDecodeErrorZ.mjs';
161173
export * from './structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs';
162174
export * from './structs/Result_TxOutUtxoLookupErrorZ.mjs';
@@ -246,6 +258,7 @@ export * from './structs/ChannelConfig.mjs';
246258
export * from './structs/Result_ChannelConfigDecodeErrorZ.mjs';
247259
export * from './structs/Option_APIErrorZ.mjs';
248260
export * from './structs/Result_COption_APIErrorZDecodeErrorZ.mjs';
261+
export * from './structs/Result_UntrustedStringDecodeErrorZ.mjs';
249262
export * from './structs/Result_OutPointDecodeErrorZ.mjs';
250263
export * from './structs/Type.mjs';
251264
export * from './structs/Option_TypeZ.mjs';
@@ -254,7 +267,6 @@ export * from './structs/PaymentError.mjs';
254267
export * from './structs/Result_PaymentIdPaymentErrorZ.mjs';
255268
export * from './structs/Result_NonePaymentErrorZ.mjs';
256269
export * from './structs/Result_StringErrorZ.mjs';
257-
export * from './structs/Result_PublicKeyErrorZ.mjs';
258270
export * from './structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs';
259271
export * from './structs/Option_MonitorEventZ.mjs';
260272
export * from './structs/Result_COption_MonitorEventZDecodeErrorZ.mjs';
@@ -279,28 +291,11 @@ export * from './structs/Result_NonePeerHandleErrorZ.mjs';
279291
export * from './structs/Result_boolPeerHandleErrorZ.mjs';
280292
export * from './structs/SendError.mjs';
281293
export * from './structs/Result_NoneSendErrorZ.mjs';
294+
export * from './structs/Result_BlindedPathNoneZ.mjs';
295+
export * from './structs/Result_BlindedPathDecodeErrorZ.mjs';
296+
export * from './structs/Result_BlindedHopDecodeErrorZ.mjs';
282297
export * from './structs/GraphSyncError.mjs';
283298
export * from './structs/Result_u32GraphSyncErrorZ.mjs';
284-
export * from './structs/ParseError.mjs';
285-
export * from './structs/Result_SiPrefixParseErrorZ.mjs';
286-
export * from './structs/Invoice.mjs';
287-
export * from './structs/ParseOrSemanticError.mjs';
288-
export * from './structs/Result_InvoiceParseOrSemanticErrorZ.mjs';
289-
export * from './structs/SignedRawInvoice.mjs';
290-
export * from './structs/Result_SignedRawInvoiceParseErrorZ.mjs';
291-
export * from './structs/RawInvoice.mjs';
292-
export * from './structs/InvoiceSignature.mjs';
293-
export * from './structs/ThreeTuple_RawInvoice_u832InvoiceSignatureZ.mjs';
294-
export * from './structs/PayeePubKey.mjs';
295-
export * from './structs/Result_PayeePubKeyErrorZ.mjs';
296-
export * from './structs/PrivateRoute.mjs';
297-
export * from './structs/PositiveTimestamp.mjs';
298-
export * from './structs/Result_PositiveTimestampCreationErrorZ.mjs';
299-
export * from './structs/Result_NoneSemanticErrorZ.mjs';
300-
export * from './structs/Result_InvoiceSemanticErrorZ.mjs';
301-
export * from './structs/Description.mjs';
302-
export * from './structs/Result_DescriptionCreationErrorZ.mjs';
303-
export * from './structs/Result_PrivateRouteCreationErrorZ.mjs';
304299
export * from './structs/Result_NoneErrorZ.mjs';
305300
export * from './structs/Result_NetAddressDecodeErrorZ.mjs';
306301
export * from './structs/UpdateAddHTLC.mjs';
@@ -349,19 +344,35 @@ export * from './structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs';
349344
export * from './structs/Result_QueryChannelRangeDecodeErrorZ.mjs';
350345
export * from './structs/Result_ReplyChannelRangeDecodeErrorZ.mjs';
351346
export * from './structs/Result_GossipTimestampFilterDecodeErrorZ.mjs';
352-
export * from './structs/SignOrCreationError.mjs';
353-
export * from './structs/Result_InvoiceSignOrCreationErrorZ.mjs';
354347
export * from './structs/WatchedOutput.mjs';
355348
export * from './structs/Filter.mjs';
356349
export * from './structs/Option_FilterZ.mjs';
357350
export * from './structs/LockedChannelMonitor.mjs';
358351
export * from './structs/Result_LockedChannelMonitorNoneZ.mjs';
359352
export * from './structs/MonitorUpdateId.mjs';
360353
export * from './structs/TwoTuple_OutPointCVec_MonitorUpdateIdZZ.mjs';
361-
export * from './structs/MessageSendEventsProvider.mjs';
362-
export * from './structs/OnionMessageProvider.mjs';
363-
export * from './structs/EventHandler.mjs';
364-
export * from './structs/EventsProvider.mjs';
354+
export * from './structs/Invoice.mjs';
355+
export * from './structs/SignOrCreationError.mjs';
356+
export * from './structs/Result_InvoiceSignOrCreationErrorZ.mjs';
357+
export * from './structs/ParseError.mjs';
358+
export * from './structs/Result_SiPrefixParseErrorZ.mjs';
359+
export * from './structs/ParseOrSemanticError.mjs';
360+
export * from './structs/Result_InvoiceParseOrSemanticErrorZ.mjs';
361+
export * from './structs/SignedRawInvoice.mjs';
362+
export * from './structs/Result_SignedRawInvoiceParseErrorZ.mjs';
363+
export * from './structs/RawInvoice.mjs';
364+
export * from './structs/InvoiceSignature.mjs';
365+
export * from './structs/ThreeTuple_RawInvoice_u832InvoiceSignatureZ.mjs';
366+
export * from './structs/PayeePubKey.mjs';
367+
export * from './structs/Result_PayeePubKeyErrorZ.mjs';
368+
export * from './structs/PrivateRoute.mjs';
369+
export * from './structs/PositiveTimestamp.mjs';
370+
export * from './structs/Result_PositiveTimestampCreationErrorZ.mjs';
371+
export * from './structs/Result_NoneSemanticErrorZ.mjs';
372+
export * from './structs/Result_InvoiceSemanticErrorZ.mjs';
373+
export * from './structs/Description.mjs';
374+
export * from './structs/Result_DescriptionCreationErrorZ.mjs';
375+
export * from './structs/Result_PrivateRouteCreationErrorZ.mjs';
365376
export * from './structs/BigSize.mjs';
366377
export * from './structs/ChannelUsage.mjs';
367378
export * from './structs/Score.mjs';
@@ -379,15 +390,19 @@ export * from './structs/Listen.mjs';
379390
export * from './structs/Confirm.mjs';
380391
export * from './structs/Persist.mjs';
381392
export * from './structs/ChainMonitor.mjs';
393+
export * from './structs/EventHandler.mjs';
394+
export * from './structs/EventsProvider.mjs';
382395
export * from './structs/KeysManager.mjs';
383396
export * from './structs/PhantomKeysManager.mjs';
384397
export * from './structs/ChainParameters.mjs';
385398
export * from './structs/Retry.mjs';
399+
export * from './structs/MessageSendEventsProvider.mjs';
386400
export * from './structs/ChannelMessageHandler.mjs';
387401
export * from './structs/ChannelManagerReadArgs.mjs';
388402
export * from './structs/ExpandedKey.mjs';
389403
export * from './structs/DataLossProtect.mjs';
390404
export * from './structs/RoutingMessageHandler.mjs';
405+
export * from './structs/OnionMessageProvider.mjs';
391406
export * from './structs/OnionMessageHandler.mjs';
392407
export * from './structs/CustomMessageReader.mjs';
393408
export * from './structs/CustomMessageHandler.mjs';
@@ -401,12 +416,20 @@ export * from './structs/DirectedChannelTransactionParameters.mjs';
401416
export * from './structs/OfferFeatures.mjs';
402417
export * from './structs/InvoiceRequestFeatures.mjs';
403418
export * from './structs/Bolt12InvoiceFeatures.mjs';
419+
export * from './structs/UnsignedInvoice.mjs';
420+
export * from './structs/UnsignedInvoiceRequest.mjs';
421+
export * from './structs/InvoiceRequest.mjs';
422+
export * from './structs/Offer.mjs';
423+
export * from './structs/Amount.mjs';
424+
export * from './structs/Quantity.mjs';
425+
export * from './structs/Refund.mjs';
404426
export * from './structs/P2PGossipSync.mjs';
405427
export * from './structs/ReadOnlyNetworkGraph.mjs';
406428
export * from './structs/DirectedChannelInfo.mjs';
407429
export * from './structs/EffectiveCapacity.mjs';
408430
export * from './structs/DefaultRouter.mjs';
409431
export * from './structs/ScorerAccountingForInFlightHtlcs.mjs';
432+
export * from './structs/Hints.mjs';
410433
export * from './structs/MultiThreadedLockableScore.mjs';
411434
export * from './structs/MultiThreadedScoreLock.mjs';
412435
export * from './structs/ProbabilisticScoringParameters.mjs';

0 commit comments

Comments
 (0)