From 35061939a3925560e2bdaad27c2efbee572ef98c Mon Sep 17 00:00:00 2001 From: Lukas Korba Date: Tue, 11 Jun 2024 15:41:28 +0200 Subject: [PATCH] public-payments-fix - PaymentRequest's payments access level has been updated from internal to public one public-payment-fix - Another public missing --- Sources/ZcashPaymentURI/Model.swift | 2 +- Sources/ZcashPaymentURI/RecipientAddress.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/ZcashPaymentURI/Model.swift b/Sources/ZcashPaymentURI/Model.swift index 7d046b2..5c648c5 100644 --- a/Sources/ZcashPaymentURI/Model.swift +++ b/Sources/ZcashPaymentURI/Model.swift @@ -8,7 +8,7 @@ import Foundation public struct PaymentRequest: Equatable { - let payments: [Payment] + public let payments: [Payment] } /// A Single payment that will be requested diff --git a/Sources/ZcashPaymentURI/RecipientAddress.swift b/Sources/ZcashPaymentURI/RecipientAddress.swift index 7a24423..47bbe8a 100644 --- a/Sources/ZcashPaymentURI/RecipientAddress.swift +++ b/Sources/ZcashPaymentURI/RecipientAddress.swift @@ -11,7 +11,7 @@ import Foundation public struct RecipientAddress: Equatable { public typealias ValidatingClosure = ((String) -> Bool) - let value: String + public let value: String /// Initialize an opaque Recipient address that's conversible to a String with or without a validating function. /// - Parameter value: the string representing the recipient