diff --git a/Sources/KlaviyoCore/Networking/NetworkSession.swift b/Sources/KlaviyoCore/Networking/NetworkSession.swift index ffb22ff3..72f955aa 100644 --- a/Sources/KlaviyoCore/Networking/NetworkSession.swift +++ b/Sources/KlaviyoCore/Networking/NetworkSession.swift @@ -28,7 +28,7 @@ public struct NetworkSession { self.data = data } - fileprivate static let currentApiRevision = "2023-07-15" + fileprivate static let currentApiRevision = "2024-10-15" fileprivate static let applicationJson = "application/json" fileprivate static let acceptedEncodings = ["br", "gzip", "deflate"] fileprivate static let mobileHeader = "1" diff --git a/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt b/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt index 4a87dc0f..cca22056 100644 --- a/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt +++ b/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt @@ -20,4 +20,4 @@ - value: "application/json" ▿ (2 elements) - key: "revision" - - value: "2023-07-15" + - value: "2024-10-15"