Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make properties of Tag public #167

Merged
merged 1 commit into from
Jul 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Sources/NostrSDK/Tag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down