From d94041661fdfed764e656d71d39574e041ae7120 Mon Sep 17 00:00:00 2001 From: lipa Bot Date: Thu, 31 Oct 2024 12:52:59 +0000 Subject: [PATCH] This commit was created automatically by the lipa bot --- Package.swift | 4 ++-- Sources/LipaLightningLib/LipaLightningLib.swift | 12 ++---------- .../lipalightninglibFFI.framework/Info.plist | 4 ++-- .../lipalightninglibFFI.framework/Info.plist | 4 ++-- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/Package.swift b/Package.swift index a9a980c..c6c1a6f 100644 --- a/Package.swift +++ b/Package.swift @@ -16,8 +16,8 @@ let package = Package( targets: [ .binaryTarget( name: "lipalightninglibFFI", - url: "https://github.com/getlipa/lipa-lightning-lib-swift/releases/download/v0.67.0-beta-mock/lipalightninglibFFI.xcframework.zip", - checksum: "b3dc9d46bcfba688314cc44cc8e95dc6c91e2abb803c8be64283689b92e1dcb0"), + url: "https://github.com/getlipa/lipa-lightning-lib-swift/releases/download/v0.68.0-beta/lipalightninglibFFI.xcframework.zip", + checksum: "7f49a0ab8c727ec38640004d5de9b928e2c920a7788fab44d6a368f8f84fc784"), .target( name: "LipaLightningLib", dependencies: ["lipalightninglibFFI"]), diff --git a/Sources/LipaLightningLib/LipaLightningLib.swift b/Sources/LipaLightningLib/LipaLightningLib.swift index 4c97a63..5aa2309 100644 --- a/Sources/LipaLightningLib/LipaLightningLib.swift +++ b/Sources/LipaLightningLib/LipaLightningLib.swift @@ -4669,15 +4669,13 @@ public struct SwapInfo { public var bitcoinAddress: String public var createdAt: TzTime public var paidAmount: Amount - public var txid: String // Default memberwise initializers are never public by default, so we // declare one manually. - public init(bitcoinAddress: String, createdAt: TzTime, paidAmount: Amount, txid: String) { + public init(bitcoinAddress: String, createdAt: TzTime, paidAmount: Amount) { self.bitcoinAddress = bitcoinAddress self.createdAt = createdAt self.paidAmount = paidAmount - self.txid = txid } } @@ -4694,9 +4692,6 @@ extension SwapInfo: Equatable, Hashable { if lhs.paidAmount != rhs.paidAmount { return false } - if lhs.txid != rhs.txid { - return false - } return true } @@ -4704,7 +4699,6 @@ extension SwapInfo: Equatable, Hashable { hasher.combine(bitcoinAddress) hasher.combine(createdAt) hasher.combine(paidAmount) - hasher.combine(txid) } } @@ -4718,8 +4712,7 @@ public struct FfiConverterTypeSwapInfo: FfiConverterRustBuffer { try SwapInfo( bitcoinAddress: FfiConverterString.read(from: &buf), createdAt: FfiConverterTypeTzTime.read(from: &buf), - paidAmount: FfiConverterTypeAmount.read(from: &buf), - txid: FfiConverterString.read(from: &buf) + paidAmount: FfiConverterTypeAmount.read(from: &buf) ) } @@ -4727,7 +4720,6 @@ public struct FfiConverterTypeSwapInfo: FfiConverterRustBuffer { FfiConverterString.write(value.bitcoinAddress, into: &buf) FfiConverterTypeTzTime.write(value.createdAt, into: &buf) FfiConverterTypeAmount.write(value.paidAmount, into: &buf) - FfiConverterString.write(value.txid, into: &buf) } } diff --git a/lipalightninglibFFI.xcframework/ios-arm64/lipalightninglibFFI.framework/Info.plist b/lipalightninglibFFI.xcframework/ios-arm64/lipalightninglibFFI.framework/Info.plist index fa9f5e1..8e8124e 100644 --- a/lipalightninglibFFI.xcframework/ios-arm64/lipalightninglibFFI.framework/Info.plist +++ b/lipalightninglibFFI.xcframework/ios-arm64/lipalightninglibFFI.framework/Info.plist @@ -7,9 +7,9 @@ CFBundleName lipalightninglibFFI CFBundleVersion - 0.67.0 + 0.68.0 CFBundleShortVersionString - 0.67.0 + 0.68.0 CFBundleExecutable lipalightninglibFFI MinimumOSVersion diff --git a/lipalightninglibFFI.xcframework/ios-arm64_x86_64-simulator/lipalightninglibFFI.framework/Info.plist b/lipalightninglibFFI.xcframework/ios-arm64_x86_64-simulator/lipalightninglibFFI.framework/Info.plist index fa9f5e1..8e8124e 100644 --- a/lipalightninglibFFI.xcframework/ios-arm64_x86_64-simulator/lipalightninglibFFI.framework/Info.plist +++ b/lipalightninglibFFI.xcframework/ios-arm64_x86_64-simulator/lipalightninglibFFI.framework/Info.plist @@ -7,9 +7,9 @@ CFBundleName lipalightninglibFFI CFBundleVersion - 0.67.0 + 0.68.0 CFBundleShortVersionString - 0.67.0 + 0.68.0 CFBundleExecutable lipalightninglibFFI MinimumOSVersion