Publish Score iOS SDK 0.5.0

This commit is contained in:
bdot
2026-10-07 12:59:18 -04:00
parent 540823aac1
commit 84b3a4cb20
6 changed files with 54 additions and 13 deletions

View File

@@ -120,6 +120,13 @@ public final class ScoreClient {
public var anonymousId: String { tracker.anonymousId }
public var pending: Int { Int(tracker.pending()) }
/// The tracker's state for support (#490): consent, queue depth and oldest
/// event, identity (the token only as `hasToken`), the last flush, and the
/// link and replay state. Attach `inspectJson()` to any bug report.
public func inspect() -> InspectSnapshot { tracker.inspect() }
/// `inspect()` as JSON, ready to paste into a bug report.
public func inspectJson() -> String { tracker.inspectJson() }
// MARK: - Tracking
/// Track a typed loyalty event — the preferred form (#485). `Events` is