Skip to content

Commit

Permalink
Make EmitterEvent constructor public (close #876)
Browse files Browse the repository at this point in the history
* Add public to constructor

* Add objc annotation
  • Loading branch information
mscwilson authored Feb 13, 2024
1 parent e8bb288 commit 58fa903
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Snowplow/Emitter/EmitterEvent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public class EmitterEvent: NSObject {
private(set) var payload: Payload
private(set) var storeId: Int64

init(payload: Payload, storeId: Int64) {
@objc
public init(payload: Payload, storeId: Int64) {
self.payload = payload
self.storeId = storeId
}
Expand Down

0 comments on commit 58fa903

Please sign in to comment.