Skip to content

Commit

Permalink
Make properties of Tag public (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiu authored Jul 14, 2024
1 parent 0275657 commit 0a63e33
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 0a63e33

Please sign in to comment.