From a36a9071cabb52ab53afb9cb212637421309dd3e Mon Sep 17 00:00:00 2001 From: Isobelle Lim Date: Wed, 18 Dec 2024 14:06:22 -0500 Subject: [PATCH 1/2] update v3 revision --- Sources/KlaviyoCore/Networking/NetworkSession.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From c4c10467738eacea81f97c2c74df8b303b590ed4 Mon Sep 17 00:00:00 2001 From: Isobelle Lim Date: Wed, 18 Dec 2024 14:28:56 -0500 Subject: [PATCH 2/2] fix test Emphemeral Session Header --- .../NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"