Skip to content

Commit

Permalink
Expose MobileCoinChaCha20Rng init (#189)
Browse files Browse the repository at this point in the history
* Exposing init for MobileCoinChaCha20.rng

* Bump version to 2.0.1

* Update Podfile.lock files
  • Loading branch information
carybakker committed Aug 30, 2022
1 parent 4027fec commit 465feaa
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ PODS:
- gRPC-Swift
- SwiftProtobuf (~> 1.5)
- Logging (1.4.0)
- MobileCoin (2.0.0)
- MobileCoin/Core (2.0.0):
- MobileCoin (2.0.1)
- MobileCoin/Core (2.0.1):
- gRPC-Swift (= 1.0.0)
- LibMobileCoin/Core (= 2.0.0)
- Logging (~> 1.4)
Expand All @@ -33,7 +33,7 @@ PODS:
- SwiftNIOHPACK (~> 1.16.3)
- SwiftNIOHTTP1 (~> 2.40.0)
- SwiftProtobuf
- MobileCoin/Core/ProtocolUnitTests (2.0.0):
- MobileCoin/Core/ProtocolUnitTests (2.0.1):
- gRPC-Swift (= 1.0.0)
- LibMobileCoin/Core (= 2.0.0)
- Logging (~> 1.4)
Expand All @@ -42,9 +42,9 @@ PODS:
- SwiftNIOHPACK (~> 1.16.3)
- SwiftNIOHTTP1 (~> 2.40.0)
- SwiftProtobuf
- MobileCoin/IntegrationTests (2.0.0)
- MobileCoin/PerformanceTests (2.0.0)
- MobileCoin/Tests (2.0.0)
- MobileCoin/IntegrationTests (2.0.1)
- MobileCoin/PerformanceTests (2.0.1)
- MobileCoin/Tests (2.0.1)
- SwiftLint (0.47.1)
- SwiftNIO (2.40.0):
- _NIODataStructures (= 2.40.0)
Expand Down Expand Up @@ -224,7 +224,7 @@ SPEC CHECKSUMS:
Keys: a576f4c9c1c641ca913a959a9c62ed3f215a8de9
LibMobileCoin: d1fbf7951d365e4fdc959ca3badc55261f756237
Logging: beeb016c9c80cf77042d62e83495816847ef108b
MobileCoin: 3b69a603bd5cd1bc56a7bc979257e619b0d941ed
MobileCoin: 47e75054fe94367dda123796b8f5b3b908008f7f
SwiftLint: f80f1be7fa96d30e0aa68e58d45d4ea1ccaac519
SwiftNIO: 829958aab300642625091f82fc2f49cb7cf4ef24
SwiftNIOConcurrencyHelpers: 697370136789b1074e4535eaae75cbd7f900370e
Expand Down
14 changes: 7 additions & 7 deletions ExampleHTTP/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ PODS:
- LibMobileCoin/CoreHTTP (2.0.0):
- SwiftProtobuf (~> 1.5)
- Logging (1.4.0)
- MobileCoin (2.0.0)
- MobileCoin/CoreHTTP (2.0.0):
- MobileCoin (2.0.1)
- MobileCoin/CoreHTTP (2.0.1):
- LibMobileCoin/CoreHTTP (= 2.0.0)
- Logging (~> 1.4)
- SwiftLint
- MobileCoin/CoreHTTP/HttpProtocolUnitTests (2.0.0):
- MobileCoin/CoreHTTP/HttpProtocolUnitTests (2.0.1):
- LibMobileCoin/CoreHTTP (= 2.0.0)
- Logging (~> 1.4)
- SwiftLint
- MobileCoin/IntegrationTests (2.0.0)
- MobileCoin/PerformanceTests (2.0.0)
- MobileCoin/Tests (2.0.0)
- MobileCoin/IntegrationTests (2.0.1)
- MobileCoin/PerformanceTests (2.0.1)
- MobileCoin/Tests (2.0.1)
- SwiftLint (0.47.1)
- SwiftProtobuf (1.19.0)

Expand Down Expand Up @@ -48,7 +48,7 @@ SPEC CHECKSUMS:
Keys: a576f4c9c1c641ca913a959a9c62ed3f215a8de9
LibMobileCoin: d1fbf7951d365e4fdc959ca3badc55261f756237
Logging: beeb016c9c80cf77042d62e83495816847ef108b
MobileCoin: 3b69a603bd5cd1bc56a7bc979257e619b0d941ed
MobileCoin: 47e75054fe94367dda123796b8f5b3b908008f7f
SwiftLint: f80f1be7fa96d30e0aa68e58d45d4ea1ccaac519
SwiftProtobuf: 6ef3f0e422ef90d6605ca20b21a94f6c1324d6b3

Expand Down
2 changes: 1 addition & 1 deletion MobileCoin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.name = "MobileCoin"
s.version = "2.0.0"
s.version = "2.0.1"
s.summary = "A library for communicating with MobileCoin network"

s.author = "MobileCoin"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Utils/Rng/MobileCoinChaCha20Rng.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public final class MobileCoinChaCha20Rng: MobileCoinRng {
self.seed = seed32.data
}

convenience init(seed: Data = .secRngGenBytes(32)) {
public convenience init(seed: Data = .secRngGenBytes(32)) {
let seed32: Data32 = withMcInfallibleReturningOptional {
Data32(seed)
}
Expand Down

0 comments on commit 465feaa

Please sign in to comment.