Skip to content

Commit d8dab7b

Browse files
joelklaboRandyMcMillan
authored andcommitted
Expose NostrEvent on RelayEvent (nostr-sdk#100)
1 parent d0fba92 commit d8dab7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/NostrSDK/Relay.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public protocol RelayDelegate: AnyObject {
4949

5050
/// A struct containing a nostr event and the subscription ID
5151
public struct RelayEvent {
52-
let event: NostrEvent
53-
let subscriptionId: String
52+
public let event: NostrEvent
53+
public let subscriptionId: String
5454
}
5555

5656
/// An object that communicates with a relay.

0 commit comments

Comments
 (0)