Expose property nullProgress for ECC Reference Wallet

Update podspec

Changelog

bump swift version

use libzcashlc 0.0.2
This commit is contained in:
Francisco Gindre 2022-03-04 17:09:39 -03:00
parent 6b051c6e36
commit f3150072f5
4 changed files with 9 additions and 9 deletions

View File

@ -83,6 +83,10 @@ public struct BlockProgress: Equatable {
}
}
public extension BlockProgress {
static let nullProgress = BlockProgress(startHeight: 0, targetHeight: 0, progressHeight: 0)
}
public class LightWalletGRPCService {
let channel: Channel
let connectionManager: ConnectionStatusManager

View File

@ -921,12 +921,6 @@ extension ConnectionState {
}
}
extension BlockProgress {
static var nullProgress: Self {
return .init(startHeight: 0, targetHeight: 0, progressHeight: 0)
}
}
private struct NullEnhancementProgress: EnhancementProgress {
var totalTransactions: Int { 0 }
var enhancedTransactions: Int { 0 }

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ZcashLightClientKit'
s.version = '0.13.0-beta.1'
s.version = '0.13.0-beta.2'
s.summary = 'Zcash Light Client wallet SDK for iOS'
s.description = <<-DESC
@ -16,11 +16,11 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/zcash/ZcashLightClientKit.git', :tag => s.version.to_s }
s.source_files = 'Sources/ZcashLightClientKit/**/*.{swift,h}'
s.swift_version = '5.4'
s.swift_version = '5.5'
s.ios.deployment_target = '12.0'
s.dependency 'gRPC-Swift', '= 1.0.0'
s.dependency 'SQLite.swift', '~> 0.12.2'
s.dependency 'libzcashlc', '0.0.1'
s.dependency 'libzcashlc', '0.0.2'
s.static_framework = true
end

View File

@ -1,3 +1,5 @@
# 0.13.0-beta.2
- [Enhancement] Fix: make BlockProgress `.nullProgress` static property public for ECC Reference Wallet CombineSynchonizer
# 0.13.0-beta.1
- [Enhancement] PR #338. Rust-less build. Check for new documentation on how to benefit from this huge change
- [Enhancement] Swift Package Manager Support!