diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 71f02925..37ee3384 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -302,7 +302,7 @@ PODS: - React-jsinspector (0.70.6) - React-logger (0.70.6): - glog - - react-native-ldk (0.0.104): + - react-native-ldk (0.0.106): - React - react-native-randombytes (3.6.1): - React-Core diff --git a/lib/package.json b/lib/package.json index 655eba2a..af7e7593 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,7 +1,7 @@ { "name": "@synonymdev/react-native-ldk", "title": "React Native LDK", - "version": "0.0.104", + "version": "0.0.106", "description": "React Native wrapper for LDK", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/lib/src/utils/types.ts b/lib/src/utils/types.ts index fcbeca8a..7d05178a 100644 --- a/lib/src/utils/types.ts +++ b/lib/src/utils/types.ts @@ -322,6 +322,7 @@ export type TChannelHandshakeConfig = { their_channel_reserve_proportional_millionths?: number; //UInt32 negotiate_anchors_zero_fee_htlc_tx?: boolean; our_max_accepted_htlcs_arg?: number; //UInt16 + max_inbound_htlc_value_in_flight_percent_of_channel?: number; //UInt8 }; export type TChannelHandshakeLimits = { @@ -364,6 +365,7 @@ export const defaultUserConfig: TUserConfig = { announced_channel: false, minimum_depth: 1, max_htlc_value_in_flight_percent_of_channel: 100, + max_inbound_htlc_value_in_flight_percent_of_channel: 100, negotiate_anchors_zero_fee_htlc_tx: true, }, manually_accept_inbound_channels: true,