Skip to content

Commit cb60b2e

Browse files
committed
chore: regenerate bindings after rebase on main
1 parent 21f5cd0 commit cb60b2e

File tree

12 files changed

+498
-431
lines changed

12 files changed

+498
-431
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import PackageDescription
55

66
let tag = "v0.7.0-rc.33"
7-
let checksum = "a6bc32bf63117e80141f9e4cc529d33e16e141460b269125f4150e1251a1108a"
7+
let checksum = "f0168053620ff44156c9f25257451bfd5b5e39c8757c19b54092d7e1bd2a576f"
88
let url = "https://github.com/synonymdev/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"
99

1010
let package = Package(
Binary file not shown.
Binary file not shown.
Binary file not shown.

bindings/kotlin/ldk-node-android/lib/src/main/kotlin/org/lightningdevkit/ldknode/ldk_node.android.kt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,6 +1517,8 @@ internal typealias UniffiVTableCallbackInterfaceVssHeaderProviderUniffiByValue =
15171517

15181518

15191519

1520+
1521+
15201522

15211523

15221524

@@ -1971,6 +1973,11 @@ internal interface UniffiLib : Library {
19711973
`headerProvider`: Pointer?,
19721974
uniffiCallStatus: UniffiRustCallStatus,
19731975
): Pointer?
1976+
fun uniffi_ldk_node_fn_method_builder_set_accept_stale_channel_monitors(
1977+
`ptr`: Pointer?,
1978+
`accept`: Byte,
1979+
uniffiCallStatus: UniffiRustCallStatus,
1980+
): Unit
19741981
fun uniffi_ldk_node_fn_method_builder_set_address_type(
19751982
`ptr`: Pointer?,
19761983
`addressType`: RustBufferByValue,
@@ -3123,6 +3130,8 @@ internal interface UniffiLib : Library {
31233130
): Short
31243131
fun uniffi_ldk_node_checksum_method_builder_build_with_vss_store_and_header_provider(
31253132
): Short
3133+
fun uniffi_ldk_node_checksum_method_builder_set_accept_stale_channel_monitors(
3134+
): Short
31263135
fun uniffi_ldk_node_checksum_method_builder_set_address_type(
31273136
): Short
31283137
fun uniffi_ldk_node_checksum_method_builder_set_address_types_to_monitor(
@@ -3614,6 +3623,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
36143623
if (lib.uniffi_ldk_node_checksum_method_builder_build_with_vss_store_and_header_provider() != 9090.toShort()) {
36153624
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
36163625
}
3626+
if (lib.uniffi_ldk_node_checksum_method_builder_set_accept_stale_channel_monitors() != 25727.toShort()) {
3627+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
3628+
}
36173629
if (lib.uniffi_ldk_node_checksum_method_builder_set_address_type() != 647.toShort()) {
36183630
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
36193631
}
@@ -5780,6 +5792,18 @@ open class Builder: Disposable, BuilderInterface {
57805792
})
57815793
}
57825794

5795+
override fun `setAcceptStaleChannelMonitors`(`accept`: kotlin.Boolean) {
5796+
callWithPointer {
5797+
uniffiRustCall { uniffiRustCallStatus ->
5798+
UniffiLib.INSTANCE.uniffi_ldk_node_fn_method_builder_set_accept_stale_channel_monitors(
5799+
it,
5800+
FfiConverterBoolean.lower(`accept`),
5801+
uniffiRustCallStatus,
5802+
)
5803+
}
5804+
}
5805+
}
5806+
57835807
override fun `setAddressType`(`addressType`: AddressType) {
57845808
callWithPointer {
57855809
uniffiRustCall { uniffiRustCallStatus ->

bindings/kotlin/ldk-node-android/lib/src/main/kotlin/org/lightningdevkit/ldknode/ldk_node.common.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ interface BuilderInterface {
299299
@Throws(BuildException::class)
300300
fun `buildWithVssStoreAndHeaderProvider`(`vssUrl`: kotlin.String, `storeId`: kotlin.String, `headerProvider`: VssHeaderProvider): Node
301301

302+
fun `setAcceptStaleChannelMonitors`(`accept`: kotlin.Boolean)
303+
302304
fun `setAddressType`(`addressType`: AddressType)
303305

304306
fun `setAddressTypesToMonitor`(`addressTypesToMonitor`: List<AddressType>)

bindings/kotlin/ldk-node-jvm/lib/src/main/kotlin/org/lightningdevkit/ldknode/ldk_node.common.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ interface BuilderInterface {
299299
@Throws(BuildException::class)
300300
fun `buildWithVssStoreAndHeaderProvider`(`vssUrl`: kotlin.String, `storeId`: kotlin.String, `headerProvider`: VssHeaderProvider): Node
301301

302+
fun `setAcceptStaleChannelMonitors`(`accept`: kotlin.Boolean)
303+
302304
fun `setAddressType`(`addressType`: AddressType)
303305

304306
fun `setAddressTypesToMonitor`(`addressTypesToMonitor`: List<AddressType>)

0 commit comments

Comments
 (0)