From 38c814832c887a68b87d3df482040d81845175e8 Mon Sep 17 00:00:00 2001 From: Ben Lower Date: Thu, 14 Nov 2024 16:46:18 -0700 Subject: [PATCH] update isLive --- Package.swift | 2 +- Sources/Ultravox/Ultravox.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index d5efdfc..e9d128a 100644 --- a/Package.swift +++ b/Package.swift @@ -13,7 +13,7 @@ let package = Package( .library( name: "Ultravox", targets: ["Ultravox"], - versionString: "0.0.2" + versionString: "0.0.3" ), ], dependencies: [ diff --git a/Sources/Ultravox/Ultravox.swift b/Sources/Ultravox/Ultravox.swift index 320f657..e92786f 100644 --- a/Sources/Ultravox/Ultravox.swift +++ b/Sources/Ultravox/Ultravox.swift @@ -34,7 +34,7 @@ public enum UltravoxSessionStatus { /// The user can interrupt as needed. case speaking - func isLive() -> Bool { + public func isLive() -> Bool { switch self { case .idle, .listening, .thinking, .speaking: true