Skip to content

Commit 4713fdb

Browse files
committed
[TS] Update auto-generated TS bindings
1 parent 09cf977 commit 4713fdb

File tree

343 files changed

+5513
-758
lines changed

Some content is hidden

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

343 files changed

+5513
-758
lines changed

ts/bindings.c

Lines changed: 673 additions & 102 deletions
Large diffs are not rendered by default.

ts/bindings.c.body

Lines changed: 673 additions & 102 deletions
Large diffs are not rendered by default.

ts/bindings.mts

Lines changed: 490 additions & 84 deletions
Large diffs are not rendered by default.

ts/index.mts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ export * from './structs/TwoTuple_OutPointCVec_MonitorEventZZ.mjs';
118118
export * from './structs/Option_C2Tuple_usizeTransactionZZ.mjs';
119119
export * from './structs/FixedPenaltyScorer.mjs';
120120
export * from './structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
121+
export * from './structs/TwoTuple_u64u64Z.mjs';
122+
export * from './structs/Option_C2Tuple_u64u64ZZ.mjs';
123+
export * from './structs/NodeId.mjs';
121124
export * from './structs/Record.mjs';
122125
export * from './structs/Logger.mjs';
123126
export * from './structs/NetworkGraph.mjs';
@@ -132,7 +135,6 @@ export * from './structs/Result_NodeFeaturesDecodeErrorZ.mjs';
132135
export * from './structs/InvoiceFeatures.mjs';
133136
export * from './structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
134137
export * from './structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
135-
export * from './structs/NodeId.mjs';
136138
export * from './structs/Result_NodeIdDecodeErrorZ.mjs';
137139
export * from './structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs';
138140
export * from './structs/Access.mjs';
@@ -149,6 +151,8 @@ export * from './structs/Result_RoutingFeesDecodeErrorZ.mjs';
149151
export * from './structs/NetAddress.mjs';
150152
export * from './structs/NodeAnnouncementInfo.mjs';
151153
export * from './structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
154+
export * from './structs/NodeAlias.mjs';
155+
export * from './structs/Result_NodeAliasDecodeErrorZ.mjs';
152156
export * from './structs/NodeInfo.mjs';
153157
export * from './structs/Result_NodeInfoDecodeErrorZ.mjs';
154158
export * from './structs/Result_NetworkGraphDecodeErrorZ.mjs';

ts/structs/APIError.mts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ import { TwoTuple_OutPointCVec_MonitorEventZZ } from '../structs/TwoTuple_OutPoi
108108
import { Option_C2Tuple_usizeTransactionZZ } from '../structs/Option_C2Tuple_usizeTransactionZZ.mjs';
109109
import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs';
110110
import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
111+
import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs';
112+
import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs';
113+
import { NodeId } from '../structs/NodeId.mjs';
111114
import { Record } from '../structs/Record.mjs';
112115
import { Logger, LoggerInterface } from '../structs/Logger.mjs';
113116
import { NetworkGraph } from '../structs/NetworkGraph.mjs';
@@ -122,7 +125,6 @@ import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesD
122125
import { InvoiceFeatures } from '../structs/InvoiceFeatures.mjs';
123126
import { Result_InvoiceFeaturesDecodeErrorZ } from '../structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
124127
import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
125-
import { NodeId } from '../structs/NodeId.mjs';
126128
import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs';
127129
import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs';
128130
import { Access, AccessInterface } from '../structs/Access.mjs';
@@ -139,6 +141,8 @@ import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDec
139141
import { NetAddress } from '../structs/NetAddress.mjs';
140142
import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs';
141143
import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
144+
import { NodeAlias } from '../structs/NodeAlias.mjs';
145+
import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs';
142146
import { NodeInfo } from '../structs/NodeInfo.mjs';
143147
import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs';
144148
import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs';

ts/structs/AcceptChannel.mts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ import { TwoTuple_OutPointCVec_MonitorEventZZ } from '../structs/TwoTuple_OutPoi
107107
import { Option_C2Tuple_usizeTransactionZZ } from '../structs/Option_C2Tuple_usizeTransactionZZ.mjs';
108108
import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs';
109109
import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
110+
import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs';
111+
import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs';
112+
import { NodeId } from '../structs/NodeId.mjs';
110113
import { Record } from '../structs/Record.mjs';
111114
import { Logger, LoggerInterface } from '../structs/Logger.mjs';
112115
import { NetworkGraph } from '../structs/NetworkGraph.mjs';
@@ -121,7 +124,6 @@ import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesD
121124
import { InvoiceFeatures } from '../structs/InvoiceFeatures.mjs';
122125
import { Result_InvoiceFeaturesDecodeErrorZ } from '../structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
123126
import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
124-
import { NodeId } from '../structs/NodeId.mjs';
125127
import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs';
126128
import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs';
127129
import { Access, AccessInterface } from '../structs/Access.mjs';
@@ -138,6 +140,8 @@ import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDec
138140
import { NetAddress } from '../structs/NetAddress.mjs';
139141
import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs';
140142
import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
143+
import { NodeAlias } from '../structs/NodeAlias.mjs';
144+
import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs';
141145
import { NodeInfo } from '../structs/NodeInfo.mjs';
142146
import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs';
143147
import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs';

ts/structs/Access.mts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ import { TwoTuple_OutPointCVec_MonitorEventZZ } from '../structs/TwoTuple_OutPoi
108108
import { Option_C2Tuple_usizeTransactionZZ } from '../structs/Option_C2Tuple_usizeTransactionZZ.mjs';
109109
import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs';
110110
import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
111+
import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs';
112+
import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs';
113+
import { NodeId } from '../structs/NodeId.mjs';
111114
import { Record } from '../structs/Record.mjs';
112115
import { Logger, LoggerInterface } from '../structs/Logger.mjs';
113116
import { NetworkGraph } from '../structs/NetworkGraph.mjs';
@@ -122,7 +125,6 @@ import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesD
122125
import { InvoiceFeatures } from '../structs/InvoiceFeatures.mjs';
123126
import { Result_InvoiceFeaturesDecodeErrorZ } from '../structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
124127
import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
125-
import { NodeId } from '../structs/NodeId.mjs';
126128
import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs';
127129
import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs';
128130
import { Option_AccessZ } from '../structs/Option_AccessZ.mjs';
@@ -138,6 +140,8 @@ import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDec
138140
import { NetAddress } from '../structs/NetAddress.mjs';
139141
import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs';
140142
import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
143+
import { NodeAlias } from '../structs/NodeAlias.mjs';
144+
import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs';
141145
import { NodeInfo } from '../structs/NodeInfo.mjs';
142146
import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs';
143147
import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs';

ts/structs/AnnouncementSignatures.mts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ import { TwoTuple_OutPointCVec_MonitorEventZZ } from '../structs/TwoTuple_OutPoi
107107
import { Option_C2Tuple_usizeTransactionZZ } from '../structs/Option_C2Tuple_usizeTransactionZZ.mjs';
108108
import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs';
109109
import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
110+
import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs';
111+
import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs';
112+
import { NodeId } from '../structs/NodeId.mjs';
110113
import { Record } from '../structs/Record.mjs';
111114
import { Logger, LoggerInterface } from '../structs/Logger.mjs';
112115
import { NetworkGraph } from '../structs/NetworkGraph.mjs';
@@ -121,7 +124,6 @@ import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesD
121124
import { InvoiceFeatures } from '../structs/InvoiceFeatures.mjs';
122125
import { Result_InvoiceFeaturesDecodeErrorZ } from '../structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
123126
import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
124-
import { NodeId } from '../structs/NodeId.mjs';
125127
import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs';
126128
import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs';
127129
import { Access, AccessInterface } from '../structs/Access.mjs';
@@ -138,6 +140,8 @@ import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDec
138140
import { NetAddress } from '../structs/NetAddress.mjs';
139141
import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs';
140142
import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
143+
import { NodeAlias } from '../structs/NodeAlias.mjs';
144+
import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs';
141145
import { NodeInfo } from '../structs/NodeInfo.mjs';
142146
import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs';
143147
import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs';

ts/structs/Balance.mts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ import { TwoTuple_OutPointCVec_MonitorEventZZ } from '../structs/TwoTuple_OutPoi
108108
import { Option_C2Tuple_usizeTransactionZZ } from '../structs/Option_C2Tuple_usizeTransactionZZ.mjs';
109109
import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs';
110110
import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
111+
import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs';
112+
import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs';
113+
import { NodeId } from '../structs/NodeId.mjs';
111114
import { Record } from '../structs/Record.mjs';
112115
import { Logger, LoggerInterface } from '../structs/Logger.mjs';
113116
import { NetworkGraph } from '../structs/NetworkGraph.mjs';
@@ -122,7 +125,6 @@ import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesD
122125
import { InvoiceFeatures } from '../structs/InvoiceFeatures.mjs';
123126
import { Result_InvoiceFeaturesDecodeErrorZ } from '../structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
124127
import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
125-
import { NodeId } from '../structs/NodeId.mjs';
126128
import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs';
127129
import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs';
128130
import { Access, AccessInterface } from '../structs/Access.mjs';
@@ -139,6 +141,8 @@ import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDec
139141
import { NetAddress } from '../structs/NetAddress.mjs';
140142
import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs';
141143
import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
144+
import { NodeAlias } from '../structs/NodeAlias.mjs';
145+
import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs';
142146
import { NodeInfo } from '../structs/NodeInfo.mjs';
143147
import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs';
144148
import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs';

ts/structs/BaseSign.mts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ import { TwoTuple_OutPointCVec_MonitorEventZZ } from '../structs/TwoTuple_OutPoi
108108
import { Option_C2Tuple_usizeTransactionZZ } from '../structs/Option_C2Tuple_usizeTransactionZZ.mjs';
109109
import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs';
110110
import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
111+
import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs';
112+
import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs';
113+
import { NodeId } from '../structs/NodeId.mjs';
111114
import { Record } from '../structs/Record.mjs';
112115
import { Logger, LoggerInterface } from '../structs/Logger.mjs';
113116
import { NetworkGraph } from '../structs/NetworkGraph.mjs';
@@ -122,7 +125,6 @@ import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesD
122125
import { InvoiceFeatures } from '../structs/InvoiceFeatures.mjs';
123126
import { Result_InvoiceFeaturesDecodeErrorZ } from '../structs/Result_InvoiceFeaturesDecodeErrorZ.mjs';
124127
import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
125-
import { NodeId } from '../structs/NodeId.mjs';
126128
import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs';
127129
import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs';
128130
import { Access, AccessInterface } from '../structs/Access.mjs';
@@ -139,6 +141,8 @@ import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDec
139141
import { NetAddress } from '../structs/NetAddress.mjs';
140142
import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs';
141143
import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
144+
import { NodeAlias } from '../structs/NodeAlias.mjs';
145+
import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs';
142146
import { NodeInfo } from '../structs/NodeInfo.mjs';
143147
import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs';
144148
import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs';

0 commit comments

Comments
 (0)