Skip to content

Commit

Permalink
refactor: send to track rename (#100)
Browse files Browse the repository at this point in the history
send to track rename
  • Loading branch information
vahidlazio authored Apr 24, 2024
1 parent 896be5e commit 3c4febf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Confidence/Confidence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Confidence: ConfidenceEventSender {
self.parent = parent
}

public func send(eventName: String, message: ConfidenceStruct) {
public func track(eventName: String, message: ConfidenceStruct) {
eventSenderEngine.emit(eventName: eventName, message: message, context: getContext())
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/Confidence/ConfidenceEventSender.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import Foundation

/// Sends events to Confidence. Contextual data is appended to each event
public protocol ConfidenceEventSender: Contextual {
func send(eventName: String, message: ConfidenceStruct)
func track(eventName: String, message: ConfidenceStruct)
}

0 comments on commit 3c4febf

Please sign in to comment.