File tree Expand file tree Collapse file tree 5 files changed +6
-3
lines changed
android/src/main/java/com/reactnativeldk Expand file tree Collapse file tree 5 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ PODS:
316316 - React-jsinspector (0.72.4)
317317 - React-logger (0.72.4):
318318 - glog
319- - react-native-ldk (0.0.145 ):
319+ - react-native-ldk (0.0.148 ):
320320 - React
321321 - react-native-randombytes (3.6.1):
322322 - React-Core
@@ -621,7 +621,7 @@ SPEC CHECKSUMS:
621621 React-jsiexecutor: c7f826e40fa9cab5d37cab6130b1af237332b594
622622 React-jsinspector: aaed4cf551c4a1c98092436518c2d267b13a673f
623623 React-logger: da1ebe05ae06eb6db4b162202faeafac4b435e77
624- react-native-ldk: 496216796eafbd77c43cd5228342460a242cf7ed
624+ react-native-ldk: fda4d4381d40401bdc5c3a9965937d19b232ed08
625625 react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
626626 react-native-tcp-socket: c1b7297619616b4c9caae6889bcb0aba78086989
627627 React-NativeModulesApple: edb5ace14f73f4969df6e7b1f3e41bef0012740f
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ val ChannelDetails.asJson: WritableMap
123123 result.putInt(" balance_sat" , (_balance_msat / 1000 ).toInt())
124124 result.putHexString(" counterparty_node_id" , _counterparty ._node_id )
125125 result.putHexString(" funding_txid" , _funding_txo ?._txid ?.reversed()?.toByteArray())
126+ _funding_txo ?._index ?.toInt()?.let { result.putInt(" funding_output_index" , it) }
126127 result.putHexString(" channel_type" , _channel_type ?.write())
127128 result.putString(" user_channel_id" , _user_channel_id .leBytes.hexEncodedString())
128129 result.putInt(" confirmations_required" , (_confirmations_required as Option_u32Z .Some ).some)
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ extension ChannelDetails {
122122 " balance_sat " : getBalanceMsat ( ) / 1000 ,
123123 " counterparty_node_id " : Data ( getCounterparty ( ) . getNodeId ( ) ) . hexEncodedString ( ) ,
124124 " funding_txid " : Data ( getFundingTxo ( ) ? . getTxid ( ) ? . reversed ( ) ?? [ ] ) . hexEncodedString ( ) ,
125+ " funding_output_index " : getFundingTxo ( ) ? . getIndex ( ) as Any , // Optional number
125126 " channel_type " : Data ( getChannelType ( ) ? . write ( ) ?? [ ] ) . hexEncodedString ( ) ,
126127 " user_channel_id " : Data ( getUserChannelId ( ) ) . hexEncodedString ( ) , //String
127128 " confirmations_required " : getConfirmationsRequired ( ) as Any , // Optional number
Original file line number Diff line number Diff line change 11{
22 "name" : " @synonymdev/react-native-ldk" ,
33 "title" : " React Native LDK" ,
4- "version" : " 0.0.146 " ,
4+ "version" : " 0.0.148 " ,
55 "description" : " React Native wrapper for LDK" ,
66 "main" : " ./dist/index.js" ,
77 "types" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ export type TChannel = {
150150 balance_sat : number ;
151151 counterparty_node_id : string ;
152152 funding_txid ?: string ;
153+ funding_output_index ? : number ;
153154 channel_type ?: string ;
154155 user_channel_id : string ;
155156 confirmations_required ?: number ;
You can’t perform that action at this time.
0 commit comments