Skip to content

Commit ff2768d

Browse files
committed
[TS] Update auto-generated TS bindings to 0.0.113
1 parent 330ca99 commit ff2768d

File tree

388 files changed

+37180
-23220
lines changed

Some content is hidden

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

388 files changed

+37180
-23220
lines changed

ts/bindings.c

Lines changed: 4553 additions & 2920 deletions
Large diffs are not rendered by default.

ts/bindings.c.body

Lines changed: 4553 additions & 2920 deletions
Large diffs are not rendered by default.

ts/bindings.mts

Lines changed: 3007 additions & 1758 deletions
Large diffs are not rendered by default.

ts/enums/HTLCClaim.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { HTLCClaim } from "../bindings.mjs";

ts/index.mts

Lines changed: 51 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export * from './enums/ChannelMonitorUpdateStatus.mjs';
1616
export * from './enums/ConfirmationTarget.mjs';
1717
export * from './enums/CreationError.mjs';
1818
export * from './enums/Currency.mjs';
19+
export * from './enums/HTLCClaim.mjs';
1920
export * from './enums/IOError.mjs';
2021
export * from './enums/Level.mjs';
2122
export * from './enums/Network.mjs';
@@ -24,22 +25,15 @@ export * from './enums/Secp256k1Error.mjs';
2425
export * from './enums/SemanticError.mjs';
2526
export * from './enums/SiPrefix.mjs';
2627
export * from './structs/Bech32Error.mjs';
27-
export * from './structs/BlindedRoute.mjs';
28-
export * from './structs/Result_BlindedRouteNoneZ.mjs';
29-
export * from './structs/DecodeError.mjs';
30-
export * from './structs/Result_BlindedRouteDecodeErrorZ.mjs';
31-
export * from './structs/BlindedHop.mjs';
32-
export * from './structs/Result_BlindedHopDecodeErrorZ.mjs';
28+
export * from './structs/Option_HTLCClaimZ.mjs';
3329
export * from './structs/Result_NoneNoneZ.mjs';
3430
export * from './structs/CounterpartyCommitmentSecrets.mjs';
31+
export * from './structs/DecodeError.mjs';
3532
export * from './structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs';
36-
export * from './structs/Result_SecretKeyErrorZ.mjs';
37-
export * from './structs/Result_PublicKeyErrorZ.mjs';
3833
export * from './structs/TxCreationKeys.mjs';
3934
export * from './structs/Result_TxCreationKeysDecodeErrorZ.mjs';
4035
export * from './structs/ChannelPublicKeys.mjs';
4136
export * from './structs/Result_ChannelPublicKeysDecodeErrorZ.mjs';
42-
export * from './structs/Result_TxCreationKeysErrorZ.mjs';
4337
export * from './structs/Option_u32Z.mjs';
4438
export * from './structs/HTLCOutputInCommitment.mjs';
4539
export * from './structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs';
@@ -62,22 +56,29 @@ export * from './structs/ShutdownScript.mjs';
6256
export * from './structs/Result_ShutdownScriptDecodeErrorZ.mjs';
6357
export * from './structs/InvalidShutdownScript.mjs';
6458
export * from './structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs';
59+
export * from './structs/BlindedPath.mjs';
60+
export * from './structs/Result_BlindedPathNoneZ.mjs';
61+
export * from './structs/Result_BlindedPathDecodeErrorZ.mjs';
62+
export * from './structs/BlindedHop.mjs';
63+
export * from './structs/Result_BlindedHopDecodeErrorZ.mjs';
64+
export * from './structs/ChannelDetails.mjs';
65+
export * from './structs/Route.mjs';
66+
export * from './structs/LightningError.mjs';
67+
export * from './structs/Result_RouteLightningErrorZ.mjs';
6568
export * from './structs/RouteHop.mjs';
69+
export * from './structs/Option_u64Z.mjs';
70+
export * from './structs/InFlightHtlcs.mjs';
71+
export * from './structs/Result_InFlightHtlcsDecodeErrorZ.mjs';
6672
export * from './structs/Result_RouteHopDecodeErrorZ.mjs';
67-
export * from './structs/Route.mjs';
6873
export * from './structs/Result_RouteDecodeErrorZ.mjs';
6974
export * from './structs/RouteParameters.mjs';
7075
export * from './structs/Result_RouteParametersDecodeErrorZ.mjs';
7176
export * from './structs/RouteHint.mjs';
72-
export * from './structs/Option_u64Z.mjs';
7377
export * from './structs/PaymentParameters.mjs';
7478
export * from './structs/Result_PaymentParametersDecodeErrorZ.mjs';
7579
export * from './structs/RouteHintHop.mjs';
7680
export * from './structs/Result_RouteHintDecodeErrorZ.mjs';
7781
export * from './structs/Result_RouteHintHopDecodeErrorZ.mjs';
78-
export * from './structs/ChannelDetails.mjs';
79-
export * from './structs/LightningError.mjs';
80-
export * from './structs/Result_RouteLightningErrorZ.mjs';
8182
export * from './structs/PaymentPurpose.mjs';
8283
export * from './structs/Result_PaymentPurposeDecodeErrorZ.mjs';
8384
export * from './structs/ClosureReason.mjs';
@@ -86,6 +87,7 @@ export * from './structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs';
8687
export * from './structs/HTLCDestination.mjs';
8788
export * from './structs/Option_HTLCDestinationZ.mjs';
8889
export * from './structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs';
90+
export * from './structs/Option_u128Z.mjs';
8991
export * from './structs/ChannelUpdate.mjs';
9092
export * from './structs/NetworkUpdate.mjs';
9193
export * from './structs/Option_NetworkUpdateZ.mjs';
@@ -119,6 +121,7 @@ export * from './structs/GossipTimestampFilter.mjs';
119121
export * from './structs/MessageSendEvent.mjs';
120122
export * from './structs/Result_TxOutAccessErrorZ.mjs';
121123
export * from './structs/TwoTuple_usizeTransactionZ.mjs';
124+
export * from './structs/TwoTuple_TxidBlockHashZ.mjs';
122125
export * from './structs/HTLCUpdate.mjs';
123126
export * from './structs/MonitorEvent.mjs';
124127
export * from './structs/ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ.mjs';
@@ -141,6 +144,10 @@ export * from './structs/Result_NodeFeaturesDecodeErrorZ.mjs';
141144
export * from './structs/InvoiceFeatures.mjs';
142145
export * from './structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
143146
export * from './structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
147+
export * from './structs/OfferFeatures.mjs';
148+
export * from './structs/Result_OfferFeaturesDecodeErrorZ.mjs';
149+
export * from './structs/InvoiceRequestFeatures.mjs';
150+
export * from './structs/Result_InvoiceRequestFeaturesDecodeErrorZ.mjs';
144151
export * from './structs/Result_NodeIdDecodeErrorZ.mjs';
145152
export * from './structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs';
146153
export * from './structs/Access.mjs';
@@ -192,8 +199,8 @@ export * from './structs/APIError.mjs';
192199
export * from './structs/Result_NoneAPIErrorZ.mjs';
193200
export * from './structs/Result__u832APIErrorZ.mjs';
194201
export * from './structs/PaymentSendFailure.mjs';
195-
export * from './structs/Result_PaymentIdPaymentSendFailureZ.mjs';
196202
export * from './structs/Result_NonePaymentSendFailureZ.mjs';
203+
export * from './structs/Result_PaymentHashPaymentSendFailureZ.mjs';
197204
export * from './structs/TwoTuple_PaymentHashPaymentIdZ.mjs';
198205
export * from './structs/Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.mjs';
199206
export * from './structs/TwoTuple_PaymentHashPaymentSecretZ.mjs';
@@ -226,29 +233,9 @@ export * from './structs/Option_TypeZ.mjs';
226233
export * from './structs/Result_COption_TypeZDecodeErrorZ.mjs';
227234
export * from './structs/PaymentError.mjs';
228235
export * from './structs/Result_PaymentIdPaymentErrorZ.mjs';
229-
export * from './structs/InFlightHtlcs.mjs';
230-
export * from './structs/Result_InFlightHtlcsDecodeErrorZ.mjs';
231-
export * from './structs/ParseError.mjs';
232-
export * from './structs/Result_SiPrefixParseErrorZ.mjs';
233-
export * from './structs/Invoice.mjs';
234-
export * from './structs/ParseOrSemanticError.mjs';
235-
export * from './structs/Result_InvoiceParseOrSemanticErrorZ.mjs';
236-
export * from './structs/SignedRawInvoice.mjs';
237-
export * from './structs/Result_SignedRawInvoiceParseErrorZ.mjs';
238-
export * from './structs/RawInvoice.mjs';
239-
export * from './structs/InvoiceSignature.mjs';
240-
export * from './structs/ThreeTuple_RawInvoice_u832InvoiceSignatureZ.mjs';
241-
export * from './structs/PayeePubKey.mjs';
242-
export * from './structs/Result_PayeePubKeyErrorZ.mjs';
243-
export * from './structs/PrivateRoute.mjs';
244-
export * from './structs/PositiveTimestamp.mjs';
245-
export * from './structs/Result_PositiveTimestampCreationErrorZ.mjs';
246-
export * from './structs/Result_NoneSemanticErrorZ.mjs';
247-
export * from './structs/Result_InvoiceSemanticErrorZ.mjs';
248-
export * from './structs/Description.mjs';
249-
export * from './structs/Result_DescriptionCreationErrorZ.mjs';
250-
export * from './structs/Result_PrivateRouteCreationErrorZ.mjs';
236+
export * from './structs/Result_NonePaymentErrorZ.mjs';
251237
export * from './structs/Result_StringErrorZ.mjs';
238+
export * from './structs/Result_PublicKeyErrorZ.mjs';
252239
export * from './structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs';
253240
export * from './structs/Option_MonitorEventZ.mjs';
254241
export * from './structs/Result_COption_MonitorEventZDecodeErrorZ.mjs';
@@ -274,6 +261,26 @@ export * from './structs/SendError.mjs';
274261
export * from './structs/Result_NoneSendErrorZ.mjs';
275262
export * from './structs/GraphSyncError.mjs';
276263
export * from './structs/Result_u32GraphSyncErrorZ.mjs';
264+
export * from './structs/ParseError.mjs';
265+
export * from './structs/Result_SiPrefixParseErrorZ.mjs';
266+
export * from './structs/Invoice.mjs';
267+
export * from './structs/ParseOrSemanticError.mjs';
268+
export * from './structs/Result_InvoiceParseOrSemanticErrorZ.mjs';
269+
export * from './structs/SignedRawInvoice.mjs';
270+
export * from './structs/Result_SignedRawInvoiceParseErrorZ.mjs';
271+
export * from './structs/RawInvoice.mjs';
272+
export * from './structs/InvoiceSignature.mjs';
273+
export * from './structs/ThreeTuple_RawInvoice_u832InvoiceSignatureZ.mjs';
274+
export * from './structs/PayeePubKey.mjs';
275+
export * from './structs/Result_PayeePubKeyErrorZ.mjs';
276+
export * from './structs/PrivateRoute.mjs';
277+
export * from './structs/PositiveTimestamp.mjs';
278+
export * from './structs/Result_PositiveTimestampCreationErrorZ.mjs';
279+
export * from './structs/Result_NoneSemanticErrorZ.mjs';
280+
export * from './structs/Result_InvoiceSemanticErrorZ.mjs';
281+
export * from './structs/Description.mjs';
282+
export * from './structs/Result_DescriptionCreationErrorZ.mjs';
283+
export * from './structs/Result_PrivateRouteCreationErrorZ.mjs';
277284
export * from './structs/Result_NoneErrorZ.mjs';
278285
export * from './structs/Result_NetAddressDecodeErrorZ.mjs';
279286
export * from './structs/UpdateAddHTLC.mjs';
@@ -332,6 +339,8 @@ export * from './structs/Filter.mjs';
332339
export * from './structs/Option_FilterZ.mjs';
333340
export * from './structs/LockedChannelMonitor.mjs';
334341
export * from './structs/Result_LockedChannelMonitorNoneZ.mjs';
342+
export * from './structs/MonitorUpdateId.mjs';
343+
export * from './structs/TwoTuple_OutPointCVec_MonitorUpdateIdZZ.mjs';
335344
export * from './structs/MessageSendEventsProvider.mjs';
336345
export * from './structs/OnionMessageProvider.mjs';
337346
export * from './structs/EventHandler.mjs';
@@ -342,6 +351,7 @@ export * from './structs/Score.mjs';
342351
export * from './structs/LockableScore.mjs';
343352
export * from './structs/WriteableScore.mjs';
344353
export * from './structs/Persister.mjs';
354+
export * from './structs/PrintableString.mjs';
345355
export * from './structs/FutureCallback.mjs';
346356
export * from './structs/Future.mjs';
347357
export * from './structs/ChannelHandshakeConfig.mjs';
@@ -350,7 +360,6 @@ export * from './structs/UserConfig.mjs';
350360
export * from './structs/BestBlock.mjs';
351361
export * from './structs/Listen.mjs';
352362
export * from './structs/Confirm.mjs';
353-
export * from './structs/MonitorUpdateId.mjs';
354363
export * from './structs/Persist.mjs';
355364
export * from './structs/ChainMonitor.mjs';
356365
export * from './structs/KeysManager.mjs';
@@ -375,19 +384,21 @@ export * from './structs/ReadOnlyNetworkGraph.mjs';
375384
export * from './structs/P2PGossipSync.mjs';
376385
export * from './structs/DirectedChannelInfo.mjs';
377386
export * from './structs/EffectiveCapacity.mjs';
387+
export * from './structs/DefaultRouter.mjs';
388+
export * from './structs/Router.mjs';
389+
export * from './structs/ScorerAccountingForInFlightHtlcs.mjs';
378390
export * from './structs/MultiThreadedLockableScore.mjs';
379391
export * from './structs/MultiThreadedScoreLock.mjs';
380392
export * from './structs/ProbabilisticScoringParameters.mjs';
381393
export * from './structs/OnionMessenger.mjs';
382394
export * from './structs/Destination.mjs';
395+
export * from './structs/OnionMessageContents.mjs';
383396
export * from './structs/RapidGossipSync.mjs';
384397
export * from './structs/RawDataPart.mjs';
385398
export * from './structs/Sha256.mjs';
386399
export * from './structs/ExpiryTime.mjs';
387400
export * from './structs/MinFinalCltvExpiry.mjs';
388401
export * from './structs/Fallback.mjs';
389402
export * from './structs/Payer.mjs';
390-
export * from './structs/Router.mjs';
391403
export * from './structs/InvoicePayer.mjs';
392404
export * from './structs/Retry.mjs';
393-
export * from './structs/DefaultRouter.mjs';

ts/js-wasm.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,6 @@ DECL_IMPORT(u, b, u, u, u, u)
4848
DECL_IMPORT(u, b, b, u, u, u)
4949
DECL_IMPORT(u, u, b, u, u, u)
5050
DECL_IMPORT(u, u, b, u, b, u)
51+
DECL_IMPORT(u, b, u, b, u, u)
5152

5253
#endif

0 commit comments

Comments
 (0)