From 0a63e3374c0f0d23711490a06b93bb81b737b031 Mon Sep 17 00:00:00 2001 From: Terry Yiu <963907+tyiu@users.noreply.github.com> Date: Sun, 14 Jul 2024 15:52:15 -0400 Subject: [PATCH] Make properties of Tag public (#167) --- Sources/NostrSDK/Tag.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/NostrSDK/Tag.swift b/Sources/NostrSDK/Tag.swift index 7f7ff66..16858bd 100644 --- a/Sources/NostrSDK/Tag.swift +++ b/Sources/NostrSDK/Tag.swift @@ -68,15 +68,15 @@ public class Tag: Codable, Equatable, Hashable { } /// The name of the tag. - let name: String + public let name: String /// The main value associated with the tag. For example, for the /// pubkey name, the `value` is the 32-byte, hex-encoded pubkey. - let value: String - + public let value: String + /// The remaining parameters in the array of strings the tag consists of. - let otherParameters: [String] - + public let otherParameters: [String] + /// Creates and returns a ``Tag`` object that references some piece of content. /// - Parameters: /// - name: The name of the tag.