Skip to content

Commit 9407ab2

Browse files
Merge branch 'develop' into master
2 parents 9ea5292 + a87a35d commit 9407ab2

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

Sources/Core/Utility/BigUInt+Extension.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ public extension BigUInt {
1313
self = value
1414
}
1515
}
16+
17+
#if COCOAPODS
18+
extension BigUInt {
19+
var isZero: Bool { self == 0 }
20+
}
21+
#endif

Web3Core.podspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Pod::Spec.new do |spec|
2+
spec.compiler_flags = '-DCOCOAPODS'
3+
24
spec.name = 'Web3Core'
3-
spec.version = '3.0.0'
5+
spec.version = '3.0.4'
46
spec.module_name = 'Core'
57
spec.ios.deployment_target = "13.0"
68
spec.osx.deployment_target = "10.15"
@@ -12,7 +14,7 @@ Pod::Spec.new do |spec|
1214
spec.swift_version = '5.5'
1315

1416
spec.dependency 'secp256k1.c', '~> 0.1'
15-
spec.dependency 'BigInt', '~> 5.2.0'
17+
spec.dependency 'BigInt', '~> 5.2.0' # no newer version in pods.
1618
spec.dependency 'CryptoSwift', '~> 1.5.1'
1719
spec.source_files = "Sources/Core/**/*.swift"
1820
end

web3swift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
WEB3CORE_VERSION ||= '3.0.0'
1+
WEB3CORE_VERSION ||= '3.0.4'
22

33
Pod::Spec.new do |spec|
44
spec.name = 'web3swift'

0 commit comments

Comments
 (0)